dms:StopReplicationTask

Write

dms:StopReplicationTask is a Write access-level action in the dms service. Grants permission to stop the replication task

Resource types

ARNs that dms:StopReplicationTask can be scoped to in an IAM policy.

arn:${Partition}:dms:${Region}:${Account}:task: required
ReplicationTask

Condition keys

Keys you can use in the Condition block of a policy that grants dms:StopReplicationTask.

aws:ResourceTag/${TagKey} String

Filters access by the presence of tag key-value pairs attached to the resource

dms:task-tag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request for ReplicationTask

Example IAM policy

A minimal policy that allows dms:StopReplicationTask. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDmsStopReplicationTask",
      "Effect": "Allow",
      "Action": "dms:StopReplicationTask",
      "Resource": "*"
    }
  ]
}

Related actions in dms

View all dms actions →