File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -305,6 +305,36 @@ Resources:
305
305
Resource :
306
306
- !Join [ "", [ !GetAtt S3ECReleaseTestS3Bucket.Arn, '/*' ] ]
307
307
308
+ S3ECReleaseTestS3BucketAlternate :
309
+ Type : ' AWS::S3::Bucket'
310
+ Properties :
311
+ BucketName : !Sub "s3ec-release-test-bucket-alternate"
312
+ LifecycleConfiguration :
313
+ Rules :
314
+ - Id : Expire in 14 days
315
+ Status : Enabled
316
+ ExpirationInDays : 14
317
+ PublicAccessBlockConfiguration :
318
+ BlockPublicAcls : false
319
+ BlockPublicPolicy : false
320
+ IgnorePublicAcls : false
321
+ RestrictPublicBuckets : false
322
+
323
+ S3ECReleaseS3BucketPolicyAlternate :
324
+ Type : ' AWS::IAM::ManagedPolicy'
325
+ Properties :
326
+ ManagedPolicyName : S3EC-Release-S3-Bucket-Policy-Alternate
327
+ PolicyDocument :
328
+ Version : 2012-10-17
329
+ Statement :
330
+ - Effect : Allow
331
+ Action :
332
+ - ' s3:PutObject'
333
+ - ' s3:GetObject'
334
+ - ' s3:DeleteObject'
335
+ Resource :
336
+ - !Join [ "", [ !GetAtt S3ECReleaseTestS3BucketAlternate.Arn, '/*' ] ]
337
+
308
338
S3ECReleaseTestKMSKeyPolicy :
309
339
Type : ' AWS::IAM::ManagedPolicy'
310
340
Properties :
@@ -370,3 +400,4 @@ Resources:
370
400
ManagedPolicyArns :
371
401
- !Ref S3ECReleaseKMSKeyPolicyAlternate
372
402
- !Ref S3ECReleaseS3BucketPolicy
403
+ - !Ref S3ECReleaseS3BucketPolicyAlternate
You can’t perform that action at this time.
0 commit comments