Skip to content

Commit 0c93815

Browse files
committed
release cfn
1 parent ac186e1 commit 0c93815

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

cfn/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,36 @@ Resources:
305305
Resource:
306306
- !Join [ "", [ !GetAtt S3ECReleaseTestS3Bucket.Arn, '/*' ] ]
307307

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+
308338
S3ECReleaseTestKMSKeyPolicy:
309339
Type: 'AWS::IAM::ManagedPolicy'
310340
Properties:
@@ -370,3 +400,4 @@ Resources:
370400
ManagedPolicyArns:
371401
- !Ref S3ECReleaseKMSKeyPolicyAlternate
372402
- !Ref S3ECReleaseS3BucketPolicy
403+
- !Ref S3ECReleaseS3BucketPolicyAlternate

0 commit comments

Comments
 (0)