Actions, resources, and condition keys for Amazon EMR on EKS (EMR Containers)
Amazon EMR on EKS (EMR Containers) (service prefix: emr-containers) 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 EMR on EKS (EMR Containers)
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 |
|---|---|---|---|---|
|
CancelJobRun |
Write |
|||
|
CreateJobTemplate |
Write |
|||
Tagging, Write |
||||
|
CreateManagedEndpoint |
Write |
|||
Tagging, Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
iam:PassedToService |
pods.eks.amazonaws.com |
Write |
||
|
CreateSecurityConfiguration |
Write |
|||
Tagging, Write |
||||
|
CreateVirtualCluster |
Write |
|||
Tagging, Write |
||||
|
DeleteJobTemplate |
Write |
|||
|
DeleteManagedEndpoint |
Write |
|||
Write |
||||
Write |
||||
Write |
||||
|
DeleteVirtualCluster |
Write |
|||
Write |
||||
Write |
||||
Read |
||||
Write |
||||
List |
||||
|
DescribeJobRun |
Read |
|||
|
DescribeJobTemplate |
Read |
|||
|
DescribeManagedEndpoint |
Read |
|||
|
DescribeSecurityConfiguration |
Read |
|||
|
DescribeVirtualCluster |
Read |
|||
|
GetManagedEndpointSessionCredentials |
Write |
|||
|
ListJobRuns |
List |
|||
|
ListJobTemplates |
List |
|||
|
ListManagedEndpoints |
List |
|||
|
ListSecurityConfigurations |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListVirtualClusters |
List |
|||
|
StartJobRun |
Read |
|||
Write |
||||
Tagging, Write |
||||
iam:PassedToService |
pods.eks.amazonaws.com |
Write |
||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
Actions defined by Amazon EMR on EKS (EMR Containers)
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 cancel a job run |
Write |
|||
Grants permission to call the CreateCertificate method to accept the CertificateSigningRequest, and return the signed certificate |
Write |
|||
Grants permission to create a job template |
Write |
|||
Grants permission to create a managed endpoint |
Write |
|||
Grants permission to create a security configuration |
Write |
|||
Grants permission to create a virtual cluster |
Write |
|||
Grants permission to delete a job template |
Write |
|||
Grants permission to delete a managed endpoint |
Write |
|||
Grants permission to delete a security configuration |
Write |
|||
Grants permission to delete a virtual cluster |
Write |
|||
Grants permission to describe a job run |
Read |
|||
Grants permission to describe a job template |
Read |
|||
Grants permission to describe a managed endpoint |
Read |
|||
Grants permission to describe a security configuration |
Read |
|||
Grants permission to describe a virtual cluster |
Read |
|||
Grants permission to generate a session token used to connect to a managed endpoint |
Write |
|||
Grants permission to list job runs associated with a virtual cluster |
List |
|||
Grants permission to list job templates |
List |
|||
Grants permission to list managed endpoints associated with a virtual cluster |
List |
|||
Grants permission to list security configurations |
List |
|||
Grants permission to list tags for the specified resource |
List |
|||
Grants permission to list virtual clusters |
List |
|||
Grants permission to start a job run |
Write |
|||
Grants permission to tag the specified resource |
Tagging, Write |
|||
Grants permission to untag the specified resource |
Tagging, Write |
|||
Resource types defined by Amazon EMR on EKS (EMR Containers)
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}:emr-containers:${Region}:${Account}:/virtualclusters/${VirtualClusterId}/jobruns/${JobRunId} |
||
arn:${Partition}:emr-containers:${Region}:${Account}:/jobtemplates/${JobTemplateId} |
||
arn:${Partition}:emr-containers:${Region}:${Account}:/virtualclusters/${VirtualClusterId}/endpoints/${EndpointId} |
||
arn:${Partition}:emr-containers:${Region}:${Account}:/securityconfigurations/${SecurityConfigurationId} |
||
arn:${Partition}:emr-containers:${Region}:${Account}:/virtualclusters/${VirtualClusterId} |
Condition keys for Amazon EMR on EKS (EMR Containers)
Amazon EMR on EKS (EMR Containers) defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tag key-value pairs present in the request |
String |
|
Filters access by the tag key-value pairs attached to the resource |
String |
|
Filters access by the tag keys present in the request |
ArrayOfString |
|
Filters access by the execution role arn present in the request |
ARN |
|
Filters access by the job template arn present in the request |
ARN |