Actions, resources, and condition keys for AWS Application Migration Service
AWS Application Migration Service (service prefix: mgn) 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 Application Migration 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 |
|---|---|---|---|---|
|
ArchiveApplication |
Write |
|||
|
ArchiveWave |
Write |
|||
|
AssociateApplications |
Write |
|||
|
AssociateSourceServers |
Write |
|||
|
ChangeServerLifeCycleState |
Write |
|||
|
CreateApplication |
Write |
|||
Tagging, Write |
||||
|
CreateConnector |
Write |
|||
Tagging, Write |
||||
|
CreateLaunchConfigurationTemplate |
Write |
|||
|
CreateNetworkMigrationDefinition |
Write |
|||
Tagging, Write |
||||
|
CreateReplicationConfigurationTemplate |
Write |
|||
Tagging, Write |
||||
|
CreateWave |
Write |
|||
Tagging, Write |
||||
|
DeleteApplication |
Write |
|||
|
DeleteConnector |
Write |
|||
|
DeleteJob |
Write |
|||
|
DeleteLaunchConfigurationTemplate |
Write |
|||
|
DeleteNetworkMigrationDefinition |
Write |
|||
|
DeleteReplicationConfigurationTemplate |
Write |
|||
|
DeleteSourceServer |
Write |
|||
|
DeleteVcenterClient |
Write |
|||
|
DeleteWave |
Write |
|||
|
DescribeJobLogItems |
Read |
|||
|
DescribeJobs |
List |
|||
|
DescribeLaunchConfigurationTemplates |
List |
|||
|
DescribeReplicationConfigurationTemplates |
List |
|||
|
DescribeSourceServers |
List |
|||
|
DescribeVcenterClients |
List |
|||
|
DisassociateApplications |
Write |
|||
|
DisassociateSourceServers |
Write |
|||
|
DisconnectFromService |
Write |
|||
|
FinalizeCutover |
Write |
|||
|
GetLaunchConfiguration |
Read |
|||
|
GetNetworkMigrationDefinition |
Read |
|||
|
GetNetworkMigrationMapperSegmentConstruct |
Read |
|||
|
GetReplicationConfiguration |
Read |
|||
|
InitializeService |
Write |
|||
|
ListApplications |
List |
|||
|
ListConnectors |
Read |
|||
|
ListExportErrors |
List |
|||
|
ListExports |
List |
|||
|
ListImportErrors |
List |
|||
|
ListImportFileEnrichments |
List |
|||
|
ListImports |
List |
|||
|
ListManagedAccounts |
List |
|||
|
ListNetworkMigrationAnalyses |
List |
|||
|
ListNetworkMigrationAnalysisResults |
List |
|||
|
ListNetworkMigrationCodeGenerationSegments |
List |
|||
|
ListNetworkMigrationCodeGenerations |
List |
|||
|
ListNetworkMigrationDefinitions |
List |
|||
|
ListNetworkMigrationDeployedStacks |
List |
|||
|
ListNetworkMigrationDeployments |
List |
|||
|
ListNetworkMigrationExecutions |
List |
|||
|
ListNetworkMigrationMapperSegmentConstructs |
List |
|||
|
ListNetworkMigrationMapperSegments |
List |
|||
|
ListNetworkMigrationMappingUpdates |
List |
|||
|
ListNetworkMigrationMappings |
List |
|||
|
ListSourceServerActions |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListTemplateActions |
List |
|||
|
ListWaves |
List |
|||
|
MarkAsArchived |
Write |
|||
|
PauseReplication |
Write |
|||
|
PutSourceServerAction |
Write |
|||
|
PutTemplateAction |
Write |
|||
|
RemoveSourceServerAction |
Write |
|||
|
RemoveTemplateAction |
Write |
|||
|
ResumeReplication |
Write |
|||
|
RetryDataReplication |
Write |
|||
|
StartCutover |
Write |
|||
Tagging, Write |
||||
|
StartExport |
Write |
|||
Tagging, Write |
||||
|
StartImport |
Write |
|||
Tagging, Write |
||||
|
StartImportFileEnrichment |
Write |
|||
|
StartNetworkMigrationAnalysis |
Write |
|||
|
StartNetworkMigrationCodeGeneration |
Write |
|||
|
StartNetworkMigrationDeployment |
Write |
|||
|
StartNetworkMigrationMapping |
Write |
|||
|
StartNetworkMigrationMappingUpdate |
Write |
|||
|
StartReplication |
Write |
|||
|
StartTest |
Write |
|||
Tagging, Write |
||||
|
StopReplication |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
TerminateTargetInstances |
Tagging, Write |
|||
Write |
||||
|
UnarchiveApplication |
Write |
|||
|
UnarchiveWave |
Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateApplication |
Write |
|||
|
UpdateConnector |
Write |
|||
|
UpdateLaunchConfiguration |
Write |
|||
|
UpdateLaunchConfigurationTemplate |
Write |
|||
|
UpdateNetworkMigrationDefinition |
Write |
|||
|
UpdateNetworkMigrationMapperSegment |
Write |
|||
|
UpdateReplicationConfiguration |
Write |
|||
|
UpdateReplicationConfigurationTemplate |
Write |
|||
|
UpdateSourceServer |
Write |
|||
|
UpdateSourceServerReplicationType |
Write |
|||
|
UpdateWave |
Write |
Actions defined by AWS Application Migration 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 archive an application |
Write |
|||
Grants permission to archive a wave |
Write |
|||
Grants permission to associate applications to a wave |
Write |
|||
Grants permission to associate source servers to an application |
Write |
|||
Grants permission to change source server life cycle state |
Write |
|||
Grants permission to create an application |
Write |
|||
Grants permission to create connector |
Write |
|||
Grants permission to create launch configuration template |
Write |
|||
Grants permission to create a network migration definition |
Write |
|||
Grants permission to create replication configuration template |
Write |
|||
Grants permission to create a wave |
Write |
|||
Grants permission to delete an application |
Write |
|||
Grants permission to delete connector |
Write |
|||
Grants permission to delete job |
Write |
|||
Grants permission to delete launch configuration template |
Write |
|||
Grants permission to delete a network migration definition |
Write |
|||
Grants permission to delete replication configuration template |
Write |
|||
Grants permission to delete source server |
Write |
|||
Grants permission to delete vcenter client |
Write |
|||
Grants permission to delete a wave |
Write |
|||
Grants permission to describe job log items |
Read |
|||
Grants permission to describe jobs |
List |
|||
Grants permission to describe launch configuration template |
List |
|||
Grants permission to describe replication configuration template |
List |
|||
Grants permission to describe source servers |
List |
|||
Grants permission to describe vcenter clients |
List |
|||
Grants permission to disassociate applications from a wave |
Write |
|||
Grants permission to disassociate source servers from an application |
Write |
|||
Grants permission to disconnect source server from service |
Write |
|||
Grants permission to finalize cutover |
Write |
|||
Grants permission to get account settings |
Read |
|||
Grants permission to get launch configuration |
Read |
|||
Grants permission to get a network migration definition |
Read |
|||
Grants permission to get a network migration mapper segment construct |
Read |
|||
Grants permission to get replication configuration |
Read |
|||
Grants permission to initialize service |
Write |
|||
Grants permission to list application summaries |
List |
|||
Grants permission to list connectors |
Read |
|||
Grants permission to list the errors of an export task |
List |
|||
Grants permission to list export tasks |
List |
|||
Grants permission to list the errors of an import task |
List |
|||
Grants permission to list the import file enrichment tasks |
List |
|||
Grants permission to list the import tasks |
List |
|||
Grants permission to list managed accounts |
List |
|||
Grants permission to list network migration analyses |
List |
|||
Grants permission to list network migration analysis results |
List |
|||
Grants permission to list network migration code generation segments |
List |
|||
Grants permission to list network migration code generations |
List |
|||
Grants permission to list network migration definitions |
List |
|||
Grants permission to list network migration deployed stacks |
List |
|||
Grants permission to list network migration deployed stacks deletions |
List |
|||
Grants permission to list network migration deployments |
List |
|||
Grants permission to list network migration executions |
List |
|||
Grants permission to list network migration mapper segment constructs |
List |
|||
Grants permission to list network migration mapper segments |
List |
|||
Grants permission to list network migration mapping updates |
List |
|||
Grants permission to list network migration mappings |
List |
|||
Grants permission to list source server action documents |
List |
|||
Grants permission to list tags for a resource |
Read |
|||
Grants permission to list launch configuration template action documents |
List |
|||
Grants permission to list wave summaries |
List |
|||
Grants permission to mark source server as archived |
Write |
|||
Grants permission to pause replication |
Write |
|||
Grants permission to put source server action document |
Write |
|||
Grants permission to put launch configuration template action document |
Write |
|||
Grants permission to remove source server action document |
Write |
|||
Grants permission to remove launch configuration template action document |
Write |
|||
Grants permission to resume replication |
Write |
|||
Grants permission to retry replication |
Write |
|||
Grants permission to start cutover |
Write |
|||
Grants permission to start an export task |
Write |
|||
Grants permission to create an import task |
Write |
|||
Grants permission to start import file enrichment |
Write |
|||
Grants permission to start a network migration analysis |
Write |
|||
Grants permission to start network migration code generation |
Write |
|||
Grants permission to start deletion of network migration deployed stacks |
Write |
|||
Grants permission to start a network migration deployment |
Write |
|||
Grants permission to start a network migration mapping |
Write |
|||
Grants permission to start a network migration mapping update |
Write |
|||
Grants permission to start replication |
Write |
|||
Grants permission to start test |
Write |
|||
Grants permission to stop replication |
Write |
|||
Grants permission to assign a resource tag |
Tagging, Write |
|||
Grants permission to terminate target instances |
Write |
|||
Grants permission to unarchive an application |
Write |
|||
Grants permission to unarchive a wave |
Write |
|||
Grants permission to untag a resource |
Tagging, Write |
|||
Grants permission to update account settings |
Write |
|||
Grants permission to update an application |
Write |
|||
Grants permission to update connector |
Write |
|||
Grants permission to update launch configuration |
Write |
|||
Grants permission to update launch configuration |
Write |
|||
Grants permission to update a network migration definition |
Write |
|||
Grants permission to update a network migration mapper segment |
Write |
|||
Grants permission to update a network migration mapper segment construct |
Write |
|||
Grants permission to update replication configuration |
Write |
|||
Grants permission to update replication configuration template |
Write |
|||
Grants permission to update source server |
Write |
|||
Grants permission to update source server replication type |
Write |
|||
Grants permission to update a wave |
Write |
Permission-only actions for AWS Application Migration Service
The following actions are defined by AWS Application Migration Service but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create volume snapshot group |
Write |
|||
Grants permission to batch delete snapshot request |
Write |
|||
Grants permission to create vcenter client |
Write |
|||
Grants permission to describe replication server associations |
Read |
|||
Grants permission to describe snapshots requests |
Read |
|||
Grants permission to get agent command |
Read |
|||
Grants permission to get agent confirmed resume info |
Read |
|||
Grants permission to get agent installation assets |
Read |
|||
Grants permission to get agent replication info |
Read |
|||
Grants permission to get agent runtime configuration |
Read |
|||
Grants permission to get agent snapshots credits |
Read |
|||
Grants permission to get channel commands |
Read |
|||
Grants permission to get vcenter client commands |
Read |
|||
Grants permission to issue a client certificate |
Write |
|||
Grants permission to notify agent authentication |
Write |
|||
Grants permission to notify agent is connected |
Write |
|||
Grants permission to notify agent is disconnected |
Write |
|||
Grants permission to notify agent replication progress |
Write |
|||
Grants permission to notify vcenter client started |
Write |
|||
Grants permission to register agent |
Write |
|||
Grants permission to send agent logs |
Write |
|||
Grants permission to send agent metrics |
Write |
|||
Grants permission to send channel command result |
Write |
|||
Grants permission to send client logs |
Write |
|||
Grants permission to send client metrics |
Write |
|||
Grants permission to send vcenter client command result |
Write |
|||
Grants permission to send vcenter client logs |
Write |
|||
Grants permission to send vcenter client metrics |
Write |
|||
Grants permission to start snapshot group requests |
Write |
|||
Grants permission to update agent backlog |
Write |
|||
Grants permission to update agent conversion info |
Write |
|||
Grants permission to update agent replication info |
Write |
|||
Grants permission to update agent replication process state |
Write |
|||
Grants permission to update agent source properties |
Write |
|||
Grants permission to verify client role |
Read |
Resource types defined by AWS Application Migration 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}:mgn:${Region}:${Account}:application/${ApplicationID} |
||
arn:${Partition}:mgn:${Region}:${Account}:connector/${ConnectorID} |
||
arn:${Partition}:mgn:${Region}:${Account}:export/${ExportID} |
||
arn:${Partition}:mgn:${Region}:${Account}:import/${ImportID} |
||
arn:${Partition}:mgn:${Region}:${Account}:job/${JobID} |
||
arn:${Partition}:mgn:${Region}:${Account}:launch-configuration-template/${LaunchConfigurationTemplateID} |
||
arn:${Partition}:mgn:${Region}:${Account}:network-migration-definition/${NetworkMigrationDefinitionID} |
||
arn:${Partition}:mgn:${Region}:${Account}:replication-configuration-template/${ReplicationConfigurationTemplateID} |
||
arn:${Partition}:mgn:${Region}:${Account}:source-server/${SourceServerID} |
||
arn:${Partition}:mgn:${Region}:${Account}:vcenter-client/${VcenterClientID} |
||
arn:${Partition}:mgn:${Region}:${Account}:wave/${WaveID} |
Condition keys for AWS Application Migration Service
AWS Application Migration 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 presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by presence of tag keys in the request |
ArrayOfString |
|
Filters access by the name of a resource-creating API action |
String |