Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"Version":"2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObjectAcl",
"s3:GetObject",
"s3:AbortMultipartUpload",
"s3:DeleteObjectVersion",
"s3:DeleteObject",
"s3:GetObjectVersion",
"s3:ListMultipartUploadParts"
],
"Resource":"arn:aws:s3:::YOUR_BUCKET_NAME/wp-time-capsule/SITE_NAME/*"
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"s3:GetLifecycleConfiguration",
"s3:PutLifecycleConfiguration",
"s3:DeleteBucketPolicy"
],
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment