dms:DeleteConnection

Write

dms:DeleteConnection is a Write access-level action in the dms service. Grants permission to delete the specified connection between a replication instance and an endpoint

Resource types

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

arn:${Partition}:dms:${Region}:${Account}:endpoint: required
Endpoint
arn:${Partition}:dms:${Region}:${Account}:rep: required
ReplicationInstance

Condition keys

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

aws:ResourceTag/${TagKey} String

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

dms:endpoint-tag/${TagKey} String

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

dms:rep-tag/${TagKey} String

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

Example IAM policy

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

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

Related actions in dms

View all dms actions →