bedrock:GetPromptRouter

Read

bedrock:GetPromptRouter is a Read access-level action in the bedrock service. Grants permission to get the properties associated with a prompt router

Resource types

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

arn:${Partition}:bedrock:${Region}:${Account}:default-prompt-router/${ResourceId}
default-prompt-router
arn:${Partition}:bedrock:${Region}:${Account}:prompt-router/${ResourceId}
prompt-router

Condition keys

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

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

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

Related actions in bedrock

View all bedrock actions →