Created
March 28, 2024 01:06
-
-
Save overnew/8bbe443cdca50ea6522f4e5383132020 to your computer and use it in GitHub Desktop.
vpc_s3enpoint_policy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:List*", | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Effect": "Allow", | |
"Principal": "*", | |
"Action": "s3:*", | |
"Resource": [ | |
"arn:aws:s3:::<허용할 버킷>", | |
"arn:aws:s3:::<허용할 버킷>/*" | |
] | |
}, | |
{ | |
"Effect": "Deny", | |
"Principal": "*", | |
"Action": "s3:*", | |
"Resource": [ | |
"arn:aws:s3:::<제한할 버킷>", | |
"arn:aws:s3:::<제한할 버킷>/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment