S3 now supports encryption to be applied by default when individual object PUT requests do not contain a specific encryption header.
How can this be set up as part of bucket creation during CloudFormation template? I have found the API call for this but it would be great if it could be supplied as an attribute within CloudFormation rather than a separate step.
So far the only options I see are
- make a separate API / client call after bucket creation
- use the older way of a bucket policy to reject unencrypted requests, which can be supplied via CloudFormation
S3::BucketPolicyresource