Amazon Polly
Developer Guide

Amazon Polly API Permissions: Actions, Permissions, and Resources Reference

When you are setting up Access Control and writing a permissions policy that you can attach to an IAM identity (identity-based policies), you can use the following table as a reference. The table lists each Amazon Polly API operation, the corresponding actions for which you can grant permissions to perform the action, and the AWS resource for which you can grant the permissions. You specify the actions in the policy's Action field, and you specify the resource value in the policy's Resource field.

You can use AWS-wide condition keys in your Amazon Polly policies to express conditions. For a complete list of AWS-wide keys, see Available Keys in the IAM User Guide.

Note

To specify an action, use the polly prefix followed by the API operation name (for example, polly:GetLexicon).

If you see an expand arrow () in the upper-right corner of the table, you can open the table in a new window. To close the window, choose the close button (X) in the lower-right corner.

Amazon Polly API and Required Permissions for Actions

Amazon Polly API Operations Required Permissions (API Actions) Resources

DeleteLexicon

polly:DeleteLexicon

arn:aws:polly:region:account-id:lexicon/LexiconName

DescribeVoices

polly:DescribeVoices

*

GetLexicon

polly:GetLexicon

arn:aws:polly:region:account-id:lexicon/LexiconName

ListLexicons

polly:ListLexicons

arn:aws:polly:region:account-id:lexicon/*

PutLexicon

polly:PutLexicon

*

SynthesizeSpeech

polly:SynthesizeSpeech

*

Amazon Polly supports Identity-based policies for actions at the resource-level. Therefore, the Resource value is indicated by the ARN. For example: arn:aws:polly:us-east-2:account-id:lexicon/* as the Resource value specifies permissions on all owned lexicons within the us-east-2region.

Because Amazon Polly doesn't support permissions for actions at the resource-level, most policies specify a wildcard character (*) as the Resource value. However, if it is necessary to limit permissions to a specific region this wildcard character is replaced with the appropriate ARN: arn:aws:polly:region:account-id:lexicon/*.