View a markdown version of this page

Actions, resources, and condition keys for Amazon Polly - Service Authorization Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Actions, resources, and condition keys for Amazon Polly

Amazon Polly (service prefix: polly) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by Amazon Polly

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

DeleteLexicon

polly:DeleteLexicon

Write

DescribeVoices

polly:DescribeVoices

List

GetLexicon

polly:GetLexicon

Read

GetSpeechSynthesisTask

polly:GetSpeechSynthesisTask

Read

ListLexicons

polly:ListLexicons

List

ListSpeechSynthesisTasks

polly:ListSpeechSynthesisTasks

List

PutLexicon

polly:PutLexicon

Write

StartSpeechSynthesisStream

polly:StartSpeechSynthesisStream

Read

StartSpeechSynthesisTask

polly:StartSpeechSynthesisTask

Write

SynthesizeSpeech

polly:SynthesizeSpeech

Read

Actions defined by Amazon Polly

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in Amazon. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

DeleteLexicon

Grants permission to delete the specified pronunciation lexicon stored in an Amazon Web Services Region

lexicon*

Write

DescribeVoices

Grants permission to describe the list of voices that are available for use when requesting speech synthesis

List

GetLexicon

Grants permission to retrieve the content of the specified pronunciation lexicon stored in an Amazon Web Services Region

lexicon*

Read

GetSpeechSynthesisTask

Grants permission to get information about specific speech synthesis task

Read

ListLexicons

Grants permission to list the pronunciation lexicons stored in an Amazon Web Services Region

List

ListSpeechSynthesisTasks

Grants permission to list requested speech synthesis tasks

List

PutLexicon

Grants permission to store a pronunciation lexicon in an Amazon Web Services Region

lexicon*

Write

StartSpeechSynthesisStream

Grants permission to perform synthesis with bidirectional streaming

lexicon

Read

StartSpeechSynthesisTask

Grants permission to synthesize long inputs to the provided S3 location

lexicon

Write

SynthesizeSpeech

Grants permission to synthesize speech

lexicon

Read

Resource types defined by Amazon Polly

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

lexicon

arn:${Partition}:polly:${Region}:${Account}:lexicon/${LexiconName}

Condition keys for Amazon Polly

Amazon Polly has no service-specific condition keys that can be used in the Condition element of policy statements.