docdb-elastic:ListTagsForResource

List

docdb-elastic:ListTagsForResource is a List access-level action in the docdb-elastic service. Grants permission to lists tag for an DocumentDB Elastic resource

Resource types

ARNs that docdb-elastic:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:docdb-elastic:${Region}:${Account}:cluster/${ResourceId}
cluster
arn:${Partition}:docdb-elastic:${Region}:${Account}:cluster-snapshot/${ResourceId}
cluster-snapshot

Condition keys

Keys you can use in the Condition block of a policy that grants docdb-elastic:ListTagsForResource.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

A minimal policy that allows docdb-elastic:ListTagsForResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDocdbelasticListTagsForResource",
      "Effect": "Allow",
      "Action": "docdb-elastic:ListTagsForResource",
      "Resource": "*"
    }
  ]
}

Related actions in docdb-elastic

View all docdb-elastic actions →