bedrock-agentcore:InvokeAgentRuntimeForUser

Write

bedrock-agentcore:InvokeAgentRuntimeForUser is a Write access-level action in the bedrock-agentcore service. Grants permission to invoke an agent runtime endpoint with X-Amzn-Bedrock-AgentCore-Runtime-User-Id header

Resource types

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

arn:${Partition}:bedrock-agentcore:${Region}:${Account}:runtime/${RuntimeId}
runtime
arn:${Partition}:bedrock-agentcore:${Region}:${Account}:runtime/${RuntimeId}/runtime-endpoint/${Name}
runtime-endpoint

Condition keys

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

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

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

Related actions in bedrock-agentcore

View all bedrock-agentcore actions →