bedrock-agentcore:TagResource

Tagging

bedrock-agentcore:TagResource is a Tagging access-level action in the bedrock-agentcore service. Grants permission to Tag a Bedrock-AgentCore resource

Resource types

ARNs that bedrock-agentcore:TagResource can be scoped to in an IAM policy.

arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}/apikeycredentialprovider/${Name}
apikeycredentialprovider
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:browser-custom/${BrowserId}
browser-custom
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:browser-profile/${BrowserProfileId}
browser-profile
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:code-interpreter-custom/${CodeInterpreterId}
code-interpreter-custom
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:evaluator/${EvaluatorId}
evaluator
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:gateway/${GatewayId}
gateway
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:harness/${HarnessId}
harness
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:memory/${MemoryId}
memory
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}/oauth2credentialprovider/${Name}
oauth2credentialprovider
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:online-evaluation-config/${OnlineEvaluationConfigId}
online-evaluation-config
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:payment-manager/${PaymentManagerId}
payment-manager
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}/paymentcredentialprovider/${Name}
paymentcredentialprovider
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:policy-engine/${PolicyEngineId}
policy-engine
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:runtime/${RuntimeId}
runtime
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:runtime/${RuntimeId}/runtime-endpoint/${Name}
runtime-endpoint
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:token-vault/${TokenVaultId}
token-vault
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:workload-identity-directory/${DirectoryId}/workload-identity/${WorkloadIdentityName}
workload-identity
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:workload-identity-directory/${DirectoryId}
workload-identity-directory

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by having actions based on the tag value associated with the resource

Example IAM policy

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

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

Related actions in bedrock-agentcore

View all bedrock-agentcore actions →