Skip to content

Instantly share code, notes, and snippets.

@acomito
Last active November 10, 2016 22:29
Show Gist options
  • Save acomito/4fcc64317e014e58d338146c7f29917e to your computer and use it in GitHub Desktop.
Save acomito/4fcc64317e014e58d338146c7f29917e to your computer and use it in GitHub Desktop.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "UploadFile",
"Effect": "Allow",
"Principal": {
"AWS": "your arn goes here"
},
"Action": [
"s3:GetObject",
"s3:PutObjectacl",
"s3:PutObject"
],
"Resource": "arn:aws:s3:::anthonys-test-bucket/*"
},
{
"Sid": "crossdomainAccess",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::anthonys-test-bucket/crossdomain.xml"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment