dms:RemoveTagsFromResource

Tagging

dms:RemoveTagsFromResource is a Tagging access-level action in the dms service. Grants permission to remove metadata tags from a DMS resource

Resource types

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

arn:${Partition}:dms:${Region}:${Account}:cert:*
Certificate
arn:${Partition}:dms:${Region}:${Account}:data-migration:*
DataMigration
arn:${Partition}:dms:${Region}:${Account}:data-provider:*
DataProvider
arn:${Partition}:dms:${Region}:${Account}:endpoint:*
Endpoint
arn:${Partition}:dms:${Region}:${Account}:es:*
EventSubscription
arn:${Partition}:dms:${Region}:${Account}:instance-profile:*
InstanceProfile
arn:${Partition}:dms:${Region}:${Account}:migration-project:*
MigrationProject
arn:${Partition}:dms:${Region}:${Account}:replication-config:*
ReplicationConfig
arn:${Partition}:dms:${Region}:${Account}:rep:*
ReplicationInstance
arn:${Partition}:dms:${Region}:${Account}:subgrp:*
ReplicationSubnetGroup
arn:${Partition}:dms:${Region}:${Account}:task:*
ReplicationTask
arn:${Partition}:dms:${Region}:${Account}:assessment-run:*
ReplicationTaskAssessmentRun
arn:${Partition}:dms:${Region}:${Account}:individual-assessment:*
ReplicationTaskIndividualAssessment

Condition keys

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

aws:RequestTag/${TagKey} String

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

aws:ResourceTag/${TagKey} String

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

aws:TagKeys ArrayOfString

Filters access by the presence of tag keys in the request

dms:cert-tag/${TagKey} String

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

dms:data-migration-tag/${TagKey} String

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

dms:data-provider-tag/${TagKey} String

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

dms:endpoint-tag/${TagKey} String

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

dms:es-tag/${TagKey} String

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

dms:instance-profile-tag/${TagKey} String

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

dms:migration-project-tag/${TagKey} String

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

dms:replication-config-tag/${TagKey} String

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

dms:rep-tag/${TagKey} String

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

dms:subgrp-tag/${TagKey} String

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

dms:task-tag/${TagKey} String

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

dms:assessment-run-tag/${TagKey} String

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

dms:individual-assessment-tag/${TagKey} String

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

Example IAM policy

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

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

Related actions in dms

View all dms actions →