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:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
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 |
Write |
|||
|
DescribeVoices |
List |
|||
|
GetLexicon |
Read |
|||
|
GetSpeechSynthesisTask |
Read |
|||
|
ListLexicons |
List |
|||
|
ListSpeechSynthesisTasks |
List |
|||
|
PutLexicon |
Write |
|||
|
StartSpeechSynthesisStream |
Read |
|||
|
StartSpeechSynthesisTask |
Write |
|||
|
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 |
|---|---|---|---|---|
Grants permission to delete the specified pronunciation lexicon stored in an Amazon Web Services Region |
Write |
|||
Grants permission to describe the list of voices that are available for use when requesting speech synthesis |
List |
|||
Grants permission to retrieve the content of the specified pronunciation lexicon stored in an Amazon Web Services Region |
Read |
|||
Grants permission to get information about specific speech synthesis task |
Read |
|||
Grants permission to list the pronunciation lexicons stored in an Amazon Web Services Region |
List |
|||
Grants permission to list requested speech synthesis tasks |
List |
|||
Grants permission to store a pronunciation lexicon in an Amazon Web Services Region |
Write |
|||
Grants permission to perform synthesis with bidirectional streaming |
Read |
|||
Grants permission to synthesize long inputs to the provided S3 location |
Write |
|||
Grants permission to synthesize speech |
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 |
|---|---|---|
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.