Skip to content

Commit ca23189

Browse files
Merge pull request #27 from athewsey/fix/s3block
Enable S3 public access blocks in CloudFormation
2 parents 7a1a367 + 1aa4360 commit ca23189

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

comprehend-semi-structured-documents-annotation-template.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ Resources:
5353
- AllowedHeaders: []
5454
AllowedMethods: [GET]
5555
AllowedOrigins: ['*']
56+
PublicAccessBlockConfiguration:
57+
BlockPublicAcls: true
58+
BlockPublicPolicy: true
59+
IgnorePublicAcls: true
60+
RestrictPublicBuckets: true
5661

5762
SemiStructuredDocumentsS3BucketPolicy:
5863
Type: AWS::S3::BucketPolicy

0 commit comments

Comments
 (0)