S3 now supports encryption, which will be applied by default when individual PUT requests of an object do not contain a specific encryption header.
How can this be configured as part of creating a bucket during the CloudFormation template? I found an API call for this, but it would be great if it could be provided as an attribute in CloudFormation, rather than a separate step.
So far, the only parameters that I see are
- make a separate API / client call after creating the bucket
- use the older bucket policy method to reject unencrypted requests that can be provided through the CloudFormation
S3::BucketPolicyresource
source
share