From here I see the syntax:
sam package \
--template-file /path_to_template/template.yaml \
--s3-bucket bucket-name \
--s3-prefix appname/branchname/version
--output-template-file packaged-template.yaml
or
aws cloudformation package \
--template-file /path_to_template/template.yaml \
--s3-bucket bucket-name \
--s3-prefix appname/branchname/version
--output-template-file packaged-template.yaml
but the s3 policy forces the client to mention server side encryption algo AES256
.
aws s3 cp file s3://some-bucket --sse AES256
What is the syntax to sam package
encrypted artifact?