AWS Polly Policy json for polly:SynthesizeSpeech IAM

1

I am trying to set up the proper policy json for IAM programmatic access, but the following runs into the below error ... I have tried it also without sid and with Resource as an array.

    "Version": "2012-10-17",
    "Statement": 
{
            "Effect": "Allow",
            "Sid": "AllowAllPollyActions",
            "Action": [
                "polly:*"
            ],
            "Resource": "*"
        }}

is not authorized to perform: polly:SynthesizeSpeech with an explicit deny in an identity-based policy

1 Answer
0

Do you have access to inspect all the other policies attached to this identity? That might give you a clue. It could be even a policy that is unrelated to Polly like a policy forcing you to be MFA authenticated to use any service

Kishan
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions