Skip to content

Instantly share code, notes, and snippets.

@overnew
Created March 28, 2024 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save overnew/8bbe443cdca50ea6522f4e5383132020 to your computer and use it in GitHub Desktop.
Save overnew/8bbe443cdca50ea6522f4e5383132020 to your computer and use it in GitHub Desktop.
vpc_s3enpoint_policy.json
{
"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