bedrock:UpdateAgentKnowledgeBase

Write

bedrock:UpdateAgentKnowledgeBase is a Write access-level action in the bedrock service. Grants permission to update a knowledge base associated with an agent

Resource types

ARNs that bedrock:UpdateAgentKnowledgeBase can be scoped to in an IAM policy.

arn:${Partition}:bedrock:${Region}:${Account}:agent/${AgentId}
agent
arn:${Partition}:bedrock:${Region}:${Account}:knowledge-base/${KnowledgeBaseId}
knowledge-base

Condition keys

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

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:UpdateAgentKnowledgeBase. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in bedrock

View all bedrock actions →