Skip to content

Instantly share code, notes, and snippets.

@mathie
Last active May 6, 2016 04:30
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 mathie/89a4eb323fec1a9215188e847c9938c6 to your computer and use it in GitHub Desktop.
Save mathie/89a4eb323fec1a9215188e847c9938c6 to your computer and use it in GitHub Desktop.
JSON policy document for the-internet.io IAM user on AWS
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1462507905000",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::the-internet.io"
]
},
{
"Sid": "Stmt1462508305000",
"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::the-internet.io/*"
]
},
{
"Sid": "Stmt1462508598000",
"Effect": "Allow",
"Action": [
"cloudfront:CreateInvalidation",
"cloudfront:GetInvalidation",
"cloudfront:ListInvalidations"
],
"Resource": [
"*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment