Skip to content

chore: add Bedrock Guardrails settings example#23364

Open
dermdunc wants to merge 1 commit intoanthropics:mainfrom
dermdunc:fix/bedrock-guardrails-settings-example
Open

chore: add Bedrock Guardrails settings example#23364
dermdunc wants to merge 1 commit intoanthropics:mainfrom
dermdunc:fix/bedrock-guardrails-settings-example

Conversation

@dermdunc
Copy link

@dermdunc dermdunc commented Feb 5, 2026

Summary

  • Adds examples/settings/settings-bedrock-guardrails.json showing env var configuration for Bedrock Guardrails
  • Updates examples/settings/README.md with a Bedrock Guardrails section

Context

Configures BEDROCK_GUARDRAIL_IDENTIFIER, BEDROCK_GUARDRAIL_VERSION, and BEDROCK_TRACE env vars which are read by @anthropic-ai/bedrock-sdk and sent as X-Amzn-Bedrock-GuardrailIdentifier, X-Amzn-Bedrock-GuardrailVersion, and X-Amzn-Bedrock-Trace headers on Bedrock invoke requests.

Depends on SDK support from anthropics/anthropic-sdk-typescript#899.

Ref: #23322

Test plan

  • JSON is valid
  • README renders correctly

🤖 Generated with Claude Code

Add settings-bedrock-guardrails.json demonstrating env var
configuration for BEDROCK_GUARDRAIL_IDENTIFIER,
BEDROCK_GUARDRAIL_VERSION, and BEDROCK_TRACE. Update README
with Bedrock Guardrails section.

Ref: anthropics#23322

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants