AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for AWS Database Migration Service

AWS Database Migration Service (service prefix: dms) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.


Actions Defined by AWS Database Migration Service

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing 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. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AddTagsToResource Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task Tagging
CreateEndpoint Creates an endpoint using the provided settings Write
CreateReplicationInstance Creates the replication instance using the specified parameters Write
CreateReplicationSubnetGroup Creates a replication subnet group given a list of the subnet IDs in a VPC Write
CreateReplicationTask Creates a replication task using the specified parameters Write
DeleteEndpoint Deletes the specified endpoint Write
DeleteEventSubscription Deletes an AWS DMS event subscription. Write
DeleteReplicationInstance Deletes the specified replication instance Write
DeleteReplicationSubnetGroup Deletes a subnet group Write
DeleteReplicationTask Deletes the specified replication task Write
DescribeAccountAttributes Lists all of the AWS DMS attributes for a customer account Read
DescribeCertificates Provides a description of the certificate. Read
DescribeConnections Describes the status of the connections that have been made between the replication instance and an endpoint Read
DescribeEndpointTypes Returns information about the type of endpoints available Read
DescribeEndpoints Returns information about the endpoints for your account in the current region Read
DescribeEventCategories Lists categories for all event source types, or, if specified, for a specified source type. Read
DescribeEventSubscriptions Lists all the event subscriptions for a customer account. Read
DescribeEvents Lists events for a given source identifier and source type. Read
DescribeOrderableReplicationInstances Returns information about the replication instance types that can be created in the specified region Read
DescribeRefreshSchemasStatus Returns the status of the RefreshSchemas operation Read
DescribeReplicationInstances Returns information about replication instances for your account in the current region Read
DescribeReplicationSubnetGroups Returns information about the replication subnet groups Read
DescribeReplicationTasks Returns information about replication tasks for your account in the current region Read
DescribeSchemas Returns information about the schema for the specified endpoint Read
DescribeTableStatistics Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted Read
ListTagsForResource Lists all tags for an AWS DMS resource List
ModifyEndpoint Modifies the specified endpoint Write
ModifyEventSubscription Modifies an existing AWS DMS event notification subscription. Write
ModifyReplicationInstance Modifies the replication instance to apply new settings Write
ModifyReplicationSubnetGroup Modifies the settings for the specified replication subnet group Write
ModifyReplicationTask Modifies the specified replication task. Write
RefreshSchemas Populates the schema for the specified endpoint Write
RemoveTagsFromResource Removes metadata tags from a DMS resource Tagging
StartReplicationTask Starts the replication task Write
StopReplicationTask Stops the replication task Write
TestConnection Tests the connection between the replication instance and the endpoint Read

Resources Defined by DMS

AWS Database Migration Service has no service-defined resources that can be used as the Resource element of an IAM policy statement.

Condition Keys for AWS Database Migration Service

DMS has no service-specific context keys that can be used in the Condition element of policy statements. For the list of the global context keys that are available to all services, see Available Keys for Conditions in the IAM Policy Reference.