Created
January 3, 2021 09:38
-
-
Save thanakijwanavit/ec1729d9e9a133009f4c60efe54e8ce1 to your computer and use it in GitHub Desktop.
create an s3 bucket with acceleration
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
| ProductS3: | |
| Type: AWS::S3::Bucket | |
| Properties: | |
| AccelerateConfiguration: | |
| AccelerationStatus: Enabled | |
| BucketName: !Join [ "-" , ["product-bucket", !Ref BRANCH]] | |
| CorsConfiguration: | |
| CorsRules: | |
| - AllowedMethods: | |
| - GET | |
| - POST | |
| AllowedOrigins: | |
| - '*' | |
| VersioningConfiguration: | |
| Status: Enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment