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 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南