# --- # AWSTemplateFormatVersion: 2010-09-09 # Description: CloudFormation - Read Prohibited Template Resources: MyBucket: Type: AWS::S3::Bucket Properties: PublicAccessBlockConfiguration: BlockPublicAcls: true BlockPublicPolicy: true IgnorePublicAcls: true RestrictPublicBuckets: true