Difference between revisions of "Cloudformation AWS::S3::Bucket example"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
- ServerSideEncryptionByDefault: | - ServerSideEncryptionByDefault: | ||
SSEAlgorithm: AES256 | SSEAlgorithm: AES256 | ||
+ | |||
+ | == Related == | ||
+ | * [[aws s3 mb]] | ||
== See also == | == See also == | ||
* {{CloudFormation}} | * {{CloudFormation}} |
Revision as of 10:45, 30 March 2022
AWSTemplateFormatVersion: "2010-09-09" Description: Create an S3 bucket. Parameters: BucketName: Type: String Description: The name of the S3 bucket. Resources: TemplatesBucket: Type: AWS::S3::Bucket DeletionPolicy: Retain UpdateReplacePolicy: Retain Properties: BucketName: !Ref BucketName PublicAccessBlockConfiguration: BlockPublicAcls: true BlockPublicPolicy: true IgnorePublicAcls: true RestrictPublicBuckets: true BucketEncryption: ServerSideEncryptionConfiguration: - ServerSideEncryptionByDefault: SSEAlgorithm: AES256
Related
See also
- AWS CloudFormation,
AWS::CloudFormation
AWS CloudFormation Designer, Drift detection, AWS Cloud Development Kit (CDK),aws cloudformation
,ServicesStack:
, AWS CloudFormation Linter (cfn-lint
), Former2, CloudCraft, Change sets, AWS CloudFormation Public Registry, CloudFormation snippets, CloudFormation templates, StackSets,Outputs:
,Type:
,Fn::Sub
,!Ref
, CloudFormation Parameters, AWS CloudFormation Templates, CloudFormation functions
Advertising: