Actions, resources, and condition keys for Amazon Translate
Amazon Translate (service prefix: translate) 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 Translate
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 |
|---|---|---|---|---|
|
CreateParallelData |
Write |
|||
Tagging, Write |
||||
|
DeleteParallelData |
Write |
|||
|
DeleteTerminology |
Write |
|||
|
DescribeTextTranslationJob |
Read |
|||
|
GetParallelData |
Read |
|||
|
GetTerminology |
Read |
|||
|
ImportTerminology |
Write |
|||
Tagging, Write |
||||
|
ListLanguages |
List |
|||
|
ListParallelData |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListTerminologies |
List |
|||
|
ListTextTranslationJobs |
List |
|||
|
StartTextTranslationJob |
Write |
|||
iam:PassedToService |
translate.amazonaws.com |
Write |
||
|
StopTextTranslationJob |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
TranslateDocument |
Read |
|||
|
TranslateText |
Read |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateParallelData |
Write |
Actions defined by Amazon Translate
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 AWS. 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 create a Parallel Data |
Write |
|||
Grants permission to delete a Parallel Data |
Write |
|||
Grants permission to delete a terminology |
Write |
|||
Grants permission to get the properties associated with an asynchronous batch translation job |
Read |
|||
Grants permission to get a Parallel Data |
Read |
|||
Grants permission to retrieve a terminology |
Read |
|||
Grants permission to create or update a terminology, depending on whether or not one already exists for the given terminology name |
Write |
|||
Grants permission to list supported languages |
List |
|||
Grants permission to list Parallel Data associated with your account |
List |
|||
Grants permission to list tags for a resource |
Read |
|||
Grants permission to list terminologies associated with your account |
List |
|||
Grants permission to list batch translation jobs that you have submitted |
List |
|||
Grants permission to start an asynchronous batch translation job. Batch translation jobs can be used to translate large volumes of text across multiple documents at once |
Write |
|||
Grants permission to stop an asynchronous batch translation job that is in progress |
Write |
|||
Grants permission to tag a resource with given key value pairs |
Tagging, Write |
|||
Grants permission to translate a document from a source language to a target language |
Read |
|||
Grants permission to translate text from a source language to a target language |
Read |
|||
Grants permission to untag a resource with given key |
Tagging, Write |
|||
Grants permission to update an existing Parallel Data |
Write |
Resource types defined by Amazon Translate
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}:translate:${Region}:${Account}:parallel-data/${ResourceName} |
||
arn:${Partition}:translate:${Region}:${Account}:terminology/${ResourceName} |
Condition keys for Amazon Translate
Amazon Translate defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by requiring tag values present in a resource creation request |
String |
|
Filters access by requiring tag value associated with the resource |
String |
|
Filters access by requiring the presence of mandatory tags in the request |
ArrayOfString |