I just want to ask if there is any way that I can make the aws cloudformation package in python? Here is the code in awscli:
aws cloudformation package \
--region us-east-1 \
--profile $Profile \
--template-file templates/$TEMPLATE.yml \
--s3-bucket $ARTIFACT_BUCKET \
--output-template-file $d-$TEMPLATE-$Profile.packaged.yml
I want this to have in python? Thanks! any help would be appreciated.