bedrock:CreatePromptRouter

Write

bedrock:CreatePromptRouter is a Write access-level action in the bedrock service. Grants permission to create a custom prompt router

Resource types

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

arn:${Partition}:bedrock:${Region}:${Account}:application-inference-profile/${ResourceId}
application-inference-profile
arn:${Partition}:bedrock:${Region}::foundation-model/${ResourceId}
foundation-model
arn:${Partition}:bedrock:${Region}:${Account}:inference-profile/${ResourceId}
inference-profile

Condition keys

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

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

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

Related actions in bedrock

View all bedrock actions →