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 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen