View a markdown version of this page

Actions, resources, and condition keys for Amazon Translate - Service Authorization Reference

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:

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

translate:CreateParallelData

Write

translate:TagResource

Tagging, Write

DeleteParallelData

translate:DeleteParallelData

Write

DeleteTerminology

translate:DeleteTerminology

Write

DescribeTextTranslationJob

translate:DescribeTextTranslationJob

Read

GetParallelData

translate:GetParallelData

Read

GetTerminology

translate:GetTerminology

Read

ImportTerminology

translate:ImportTerminology

Write

translate:TagResource

Tagging, Write

ListLanguages

translate:ListLanguages

List

ListParallelData

translate:ListParallelData

List

ListTagsForResource

translate:ListTagsForResource

Read

ListTerminologies

translate:ListTerminologies

List

ListTextTranslationJobs

translate:ListTextTranslationJobs

List

StartTextTranslationJob

translate:StartTextTranslationJob

Write

iam:PassRole

iam:PassedToService

translate.amazonaws.com

Write

StopTextTranslationJob

translate:StopTextTranslationJob

Write

TagResource

translate:TagResource

Tagging, Write

TranslateDocument

translate:TranslateDocument

Read

TranslateText

translate:TranslateText

Read

UntagResource

translate:UntagResource

Tagging, Write

UpdateParallelData

translate: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

CreateParallelData

Grants permission to create a Parallel Data

parallel-data

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

DeleteParallelData

Grants permission to delete a Parallel Data

parallel-data

aws:ResourceTag/${TagKey}

Write

DeleteTerminology

Grants permission to delete a terminology

terminology

aws:ResourceTag/${TagKey}

Write

DescribeTextTranslationJob

Grants permission to get the properties associated with an asynchronous batch translation job

Read

GetParallelData

Grants permission to get a Parallel Data

parallel-data

aws:ResourceTag/${TagKey}

Read

GetTerminology

Grants permission to retrieve a terminology

terminology

aws:ResourceTag/${TagKey}

Read

ImportTerminology

Grants permission to create or update a terminology, depending on whether or not one already exists for the given terminology name

terminology

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

ListLanguages

Grants permission to list supported languages

List

ListParallelData

Grants permission to list Parallel Data associated with your account

List

ListTagsForResource

Grants permission to list tags for a resource

parallel-data

aws:ResourceTag/${TagKey}

Read

terminology

aws:ResourceTag/${TagKey}

ListTerminologies

Grants permission to list terminologies associated with your account

List

ListTextTranslationJobs

Grants permission to list batch translation jobs that you have submitted

List

StartTextTranslationJob

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

parallel-data

aws:ResourceTag/${TagKey}

Write

terminology

aws:ResourceTag/${TagKey}

StopTextTranslationJob

Grants permission to stop an asynchronous batch translation job that is in progress

Write

TagResource

Grants permission to tag a resource with given key value pairs

parallel-data

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

terminology

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

TranslateDocument

Grants permission to translate a document from a source language to a target language

terminology

aws:ResourceTag/${TagKey}

Read

TranslateText

Grants permission to translate text from a source language to a target language

parallel-data

aws:ResourceTag/${TagKey}

Read

terminology

aws:ResourceTag/${TagKey}

UntagResource

Grants permission to untag a resource with given key

parallel-data

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

terminology

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateParallelData

Grants permission to update an existing Parallel Data

parallel-data

aws:ResourceTag/${TagKey}

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

parallel-data

arn:${Partition}:translate:${Region}:${Account}:parallel-data/${ResourceName}

aws:ResourceTag/${TagKey}

terminology

arn:${Partition}:translate:${Region}:${Account}:terminology/${ResourceName}

aws:ResourceTag/${TagKey}

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

aws:RequestTag/${TagKey}

Filters access by requiring tag values present in a resource creation request

String

aws:ResourceTag/${TagKey}

Filters access by requiring tag value associated with the resource

String

aws:TagKeys

Filters access by requiring the presence of mandatory tags in the request

ArrayOfString