You must be logged in to view saved presets
Configuration to create an S3 bucket with security configuration options including s3 block public access configuration, encryption, logging, and versioning.
To enable logging using CloudTrail Data Events, see the following configuration item.
AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
S3Bucket:
Type: 'AWS::S3::Bucket'
Properties:
BucketEncryption:
ServerSideEncryptionConfiguration:
- BucketKeyEnabled: false
ServerSideEncryptionByDefault:
SSEAlgorithm: 'aws:kms'
KMSMasterKeyID: aws/s3
VersioningConfiguration:
Status: Suspended
PublicAccessBlockConfiguration:
BlockPublicAcls: true
BlockPublicPolicy: true
IgnorePublicAcls: true
RestrictPublicBuckets: true
Parameters: {}
Metadata: {}
Conditions: {}