Skip to content

Instantly share code, notes, and snippets.

@adrianocanofre
Created April 2, 2020 03:25
Show Gist options
  • Save adrianocanofre/f74b5ca31ad0051306679aeb407d70c6 to your computer and use it in GitHub Desktop.
Save adrianocanofre/f74b5ca31ad0051306679aeb407d70c6 to your computer and use it in GitHub Desktop.
Policy for create s3 bucket.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetLifecycleConfiguration",
"s3:GetBucketTagging",
"s3:GetBucketWebsite",
"s3:GetBucketLogging",
"s3:CreateBucket",
"s3:ListBucket",
"s3:GetAccelerateConfiguration",
"s3:GetBucketVersioning",
"s3:GetBucketAcl",
"s3:GetReplicationConfiguration",
"s3:PutEncryptionConfiguration",
"s3:GetBucketObjectLockConfiguration",
"s3:GetEncryptionConfiguration",
"s3:DeleteBucketWebsite",
"s3:ListAllMyBuckets",
"s3:GetBucketRequestPayment",
"s3:GetBucketCORS",
"s3:GetBucketLocation",
"s3:DeleteBucket",
"s3:PutBucketVersioning"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment