Actions, resources, and condition keys for AWS Mainframe Modernization Service
AWS Mainframe Modernization Service (service prefix: m2) 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 AWS Mainframe Modernization Service
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 |
|---|---|---|---|---|
|
CancelBatchJobExecution |
Write |
|||
|
CreateApplication |
Write |
|||
Tagging, Write |
||||
iam:PassedToService |
m2.amazonaws.com |
Write |
||
|
CreateDataSetExportTask |
Write |
|||
|
CreateDataSetImportTask |
Write |
|||
|
CreateDeployment |
Write |
|||
|
CreateEnvironment |
Write |
|||
Tagging, Write |
||||
|
DeleteApplication |
Write |
|||
|
DeleteApplicationFromEnvironment |
Write |
|||
|
DeleteEnvironment |
Write |
|||
|
GetApplication |
Read |
|||
|
GetApplicationVersion |
Read |
|||
|
GetBatchJobExecution |
Read |
|||
|
GetDataSetDetails |
Read |
|||
|
GetDataSetExportTask |
Read |
|||
|
GetDataSetImportTask |
Read |
|||
|
GetDeployment |
Read |
|||
|
GetEnvironment |
Read |
|||
|
GetSignedBluinsightsUrl |
Read |
|||
|
ListApplicationVersions |
Read |
|||
|
ListApplications |
List |
|||
|
ListBatchJobDefinitions |
Read |
|||
|
ListBatchJobExecutions |
Read |
|||
|
ListBatchJobRestartPoints |
Read |
|||
|
ListDataSetExportHistory |
Read |
|||
|
ListDataSetImportHistory |
Read |
|||
|
ListDataSets |
Read |
|||
|
ListDeployments |
Read |
|||
|
ListEngineVersions |
Read |
|||
|
ListEnvironments |
List |
|||
|
ListTagsForResource |
Read |
|||
|
StartApplication |
Write |
|||
|
StartBatchJob |
Write |
|||
|
StopApplication |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateApplication |
Write |
|||
|
UpdateEnvironment |
Write |
Actions defined by AWS Mainframe Modernization Service
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 the execution of a batch job |
Write |
|||
Grants permission to create an application |
Write |
|||
Grants permission to create a data set export task |
Write |
|||
Grants permission to create a data set import task |
Write |
|||
Grants permission to create a deployment |
Write |
|||
Grants permission to Create an environment |
Write |
|||
Grants permission to delete an application |
Write |
|||
Grants permission to delete an application from a runtime environment |
Write |
|||
Grants permission to delete a runtime environment |
Write |
|||
Grants permission to retrieve an application |
Read |
|||
Grants permission to retrieve an application version |
Read |
|||
Grants permission to retrieve a batch job execution |
Read |
|||
Grants permission to retrieve data set details |
Read |
|||
Grants permission to export a data set at the specified S3 location |
Read |
|||
Grants permission to retrieve a data set import task |
Read |
|||
Grants permission to retrieve a deployment |
Read |
|||
Grants permission to retrieve a runtime environment |
Read |
|||
Grants permission to create a signed Bluinsights url |
Read |
|||
Grants permission to list the versions of an application |
Read |
|||
Grants permission to list applications |
List |
|||
Grants permission to list batch job definitions |
Read |
|||
Grants permission to list executions for a batch job |
Read |
|||
Grants permission to retrieve a batch job execution |
Read |
|||
Grants permission to list data set export history |
Read |
|||
Grants permission to list data set import history |
Read |
|||
Grants permission to list data sets |
Read |
|||
Grants permission to list deployments |
Read |
|||
Grants permission to list engine versions |
Read |
|||
Grants permission to list runtime environments |
List |
|||
Grants permission to list tags for a resource |
Read |
|||
Grants permission to start an application |
Write |
|||
Grants permission to start a batch job |
Write |
|||
Grants permission to stop an application |
Write |
|||
Grants permission to tag a resource |
Tagging, Write |
|||
Grants permission to untag a resource |
Tagging, Write |
|||
Grants permission to update an application |
Write |
|||
Grants permission to update a runtime environment |
Write |
Resource types defined by AWS Mainframe Modernization Service
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}:m2:${Region}:${Account}:app/${ApplicationId} |
||
arn:${Partition}:m2:${Region}:${Account}:env/${EnvironmentId} |
Condition keys for AWS Mainframe Modernization Service
AWS Mainframe Modernization Service defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag key and value pair that is allowed in the request |
String |
|
Filters access by a tag key and value pair of a resource |
String |
|
Filters access by a list of tag keys that are allowed in the request |
ArrayOfString |