We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5a5a7 commit 68f62d5Copy full SHA for 68f62d5
src/rpdk/core/data/managed-upload-infrastructure.yaml
@@ -63,6 +63,24 @@ Resources:
63
"aws:SecureTransport": "false"
64
Principal: "*"
65
66
+ AccessLogsBucketPolicy:
67
+ Type: AWS::S3::BucketPolicy
68
+ Properties:
69
+ Bucket: !Ref AccessLogsBucket
70
+ PolicyDocument:
71
+ Version: "2012-10-17"
72
+ Statement:
73
+ - Sid: Require Secure Transport
74
+ Action: "s3:*"
75
+ Effect: Deny
76
+ Resource:
77
+ - !Sub "arn:${AWS::Partition}:s3:::${AccessLogsBucket}"
78
+ - !Sub "arn:${AWS::Partition}:s3:::${AccessLogsBucket}/*"
79
+ Condition:
80
+ Bool:
81
+ "aws:SecureTransport": "false"
82
+ Principal: "*"
83
+
84
EncryptionKey:
85
Type: AWS::KMS::Key
86
DeletionPolicy: Retain
0 commit comments