We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec32a98 commit 5631dcbCopy full SHA for 5631dcb
src/rpdk/core/data/managed-upload-infrastructure.yaml
@@ -37,6 +37,16 @@ Resources:
37
Resource:
38
- !Sub "arn:${AWS::Partition}:s3:::${ArtifactBucket}"
39
- !Sub "arn:${AWS::Partition}:s3:::${ArtifactBucket}/*"
40
+ - Sid: Require Secure Transport
41
+ Action: "s3:*"
42
+ Effect: Deny
43
+ Resource:
44
+ - !Sub "arn:${AWS::Partition}:s3:::${ArtifactBucket}"
45
+ - !Sub "arn:${AWS::Partition}:s3:::${ArtifactBucket}/*"
46
+ Condition:
47
+ Bool:
48
+ "aws:SecureTransport": "false"
49
+ Principal: "*"
50
51
EncryptionKey:
52
Type: AWS::KMS::Key
0 commit comments