# --- # AWSTemplateFormatVersion: 2010-09-09 # Description: CloudFormation - S3 Prohibit Public Reads Resources: MyBucket: Type: AWS::S3::Bucket Properties: # PublicAccessBlockConfiguration: # BlockPublicAcls: true # BlockPublicPolicy: true # IgnorePublicAcls: true # RestrictPublicBuckets: true BucketEncryption: ServerSideEncryptionConfiguration: - ServerSideEncryptionByDefault: SSEAlgorithm: AES256 VersioningConfiguration: Status: Enabled