This repository was archived by the owner on Jun 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,21 @@ _Note: You can customize this implementation to work with linked accounts as wel
6767 "aws:PrincipalOrgID": "<REPLACE WITH YOUR AWS ORGANIZATION ID>"
6868 }
6969 }
70+ },
71+ {
72+ "Sid": "AllowSSLRequestsOnly",
73+ "Effect": "Deny",
74+ "Principal": "*",
75+ "Action": "s3:*",
76+ "Resource": [
77+ "arn:aws:s3:::<REPLACE WITH YOUR AMAZON S3 BUCKET NAME>",
78+ "arn:aws:s3:::<REPLACE WITH YOUR AMAZON S3 BUCKET NAME>/*"
79+ ],
80+ "Condition": {
81+ "Bool": {
82+ aws:SecureTransport: false
83+ }
84+ }
7085 }
7186 ]
7287 }
@@ -119,6 +134,21 @@ _Note: You can customize this implementation to work with linked accounts as wel
119134 "aws:PrincipalOrgID": "<REPLACE WITH YOUR AWS ORGANIZATION ID>"
120135 }
121136 }
137+ },
138+ {
139+ "Sid": "AllowSSLRequestsOnly",
140+ "Effect": "Deny",
141+ "Principal": "*",
142+ "Action": "s3:*",
143+ "Resource": [
144+ "arn:aws-us-gov:s3:::<REPLACE WITH YOUR AMAZON S3 BUCKET NAME>",
145+ "arn:aws-us-gov:s3:::<REPLACE WITH YOUR AMAZON S3 BUCKET NAME>/*"
146+ ],
147+ "Condition": {
148+ "Bool": {
149+ aws:SecureTransport: false
150+ }
151+ }
122152 }
123153 ]
124154 }
You can’t perform that action at this time.
0 commit comments