Created
February 6, 2018 03:48
-
-
Save dave-malone/fc8c1e654a6b058393064de72677e187 to your computer and use it in GitHub Desktop.
CloudFormation snippet to enable server side encryption by default on an s3 bucket
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StaticAssetsS3Bucket: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: my-encrypted-bucket | |
BucketEncryption: | |
ServerSideEncryptionConfiguration: | |
- ServerSideEncryptionByDefault: | |
SSEAlgorithm: AES256 | |
VersioningConfiguration: | |
Status: Enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment