pca-connector-ad:TagResource

Tagging

pca-connector-ad:TagResource is a Tagging access-level action in the pca-connector-ad service. Grants permission to tag a pca-connector-ad resource in your account

Resource types

ARNs that pca-connector-ad:TagResource can be scoped to in an IAM policy.

arn:${Partition}:pca-connector-ad:${Region}:${Account}:connector/${ConnectorId}
Connector
arn:${Partition}:pca-connector-ad:${Region}:${Account}:directory-registration/${DirectoryId}
DirectoryRegistration
arn:${Partition}:pca-connector-ad:${Region}:${Account}:connector/${ConnectorId}/template/${TemplateId}
Template

Condition keys

Keys you can use in the Condition block of a policy that grants pca-connector-ad:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by on the tags associated with the resource

Example IAM policy

A minimal policy that allows pca-connector-ad:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPcaconnectoradTagResource",
      "Effect": "Allow",
      "Action": "pca-connector-ad:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in pca-connector-ad

View all pca-connector-ad actions →