wisdom:TagResource

Tagging

wisdom:TagResource is a Tagging access-level action in the wisdom service. Grants permission to add the specified tags to the specified resource

Resource types

ARNs that wisdom:TagResource can be scoped to in an IAM policy.

arn:${Partition}:wisdom:${Region}:${Account}:assistant/${AssistantId}
Assistant
arn:${Partition}:wisdom:${Region}:${Account}:association/${AssistantId}/${AssistantAssociationId}
AssistantAssociation
arn:${Partition}:wisdom:${Region}:${Account}:content/${KnowledgeBaseId}/${ContentId}
Content
arn:${Partition}:wisdom:${Region}:${Account}:content-association/${KnowledgeBaseId}/${ContentId}/${ContentAssociationId}
ContentAssociation
arn:${Partition}:wisdom:${Region}:${Account}:knowledge-base/${KnowledgeBaseId}
KnowledgeBase
arn:${Partition}:wisdom:${Region}:${Account}:message-template/${KnowledgeBaseId}/${MessageTemplateId}
MessageTemplate
arn:${Partition}:wisdom:${Region}:${Account}:quick-response/${KnowledgeBaseId}/${QuickResponseId}
QuickResponse
arn:${Partition}:wisdom:${Region}:${Account}:session/${AssistantId}/${SessionId}
Session

Condition keys

Keys you can use in the Condition block of a policy that grants wisdom:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

wisdom:MessageTemplate/RoutingProfileArn ArrayOfARN

Filters access by the connect routing profile arns associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWisdomTagResource",
      "Effect": "Allow",
      "Action": "wisdom:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in wisdom

View all wisdom actions →