bedrock:GetGuardrail

Read

bedrock:GetGuardrail is a Read access-level action in the bedrock service. Grants permission to retrieve a guardrail or its version

Resource types

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

arn:${Partition}:bedrock:${Region}:${Account}:guardrail/${GuardrailId}
guardrail

Condition keys

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

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

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

Related actions in bedrock

View all bedrock actions →