Skip to content

Instantly share code, notes, and snippets.

@richtabor
Created February 23, 2018 13:35
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 richtabor/16cc517e3dfe46dae73469e4fcfc7e71 to your computer and use it in GitHub Desktop.
Save richtabor/16cc517e3dfe46dae73469e4fcfc7e71 to your computer and use it in GitHub Desktop.
Amazon Polly JSON Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Permissions1",
"Effect": "Allow",
"Action": [
"s3:HeadBucket",
"polly:SynthesizeSpeech",
"polly:DescribeVoices"
],
"Resource": "*"
},
{
"Sid": "Permissions2",
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketAcl",
"s3:GetBucketPolicy",
"s3:PutObject",
"s3:DeleteObject",
"s3:CreateBucket",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::audio_for_wordpress*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment