github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/s3/AVD-AWS-0093/CloudFormation.md (about) 1 2 Limit the access to public buckets to only the owner or AWS Services (eg; CloudFront) 3 4 ```yaml--- 5 Resources: 6 GoodExample: 7 Properties: 8 PublicAccessBlockConfiguration: 9 BlockPublicAcls: true 10 BlockPublicPolicy: true 11 IgnorePublicAcls: true 12 RestrictPublicBuckets: true 13 Type: AWS::S3::Bucket 14 15 ``` 16 17