File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,14 @@ Resources:
122
122
Type : ' AWS::S3::Bucket'
123
123
Properties :
124
124
BucketName : !Sub 'imagery-${AWS::AccountId}'
125
+ OwnershipControls :
126
+ Rules :
127
+ - ObjectOwnership : BucketOwnerPreferred
128
+ PublicAccessBlockConfiguration :
129
+ BlockPublicAcls : false
130
+ BlockPublicPolicy : true
131
+ IgnorePublicAcls : false
132
+ RestrictPublicBuckets : true
125
133
WebsiteConfiguration :
126
134
ErrorDocument : error.html
127
135
IndexDocument : index.html
Original file line number Diff line number Diff line change @@ -169,6 +169,14 @@ Resources:
169
169
Type : ' AWS::S3::Bucket'
170
170
Properties :
171
171
BucketName : !Sub 'ch17-url2png-${AWS::AccountId}'
172
+ OwnershipControls :
173
+ Rules :
174
+ - ObjectOwnership : BucketOwnerPreferred
175
+ PublicAccessBlockConfiguration :
176
+ BlockPublicAcls : false
177
+ BlockPublicPolicy : true
178
+ IgnorePublicAcls : false
179
+ RestrictPublicBuckets : true
172
180
SQSQueue :
173
181
Type : ' AWS::SQS::Queue'
174
182
Properties :
You can’t perform that action at this time.
0 commit comments