BedrockGuardrailConfig
Defined in: src/models/bedrock.ts:127
Configuration for Bedrock guardrails.
For production use with sensitive content, consider SessionManager with saveLatestOn: 'message'
to persist redactions immediately.
https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html
Properties
Section titled “Properties”guardrailIdentifier
Section titled “guardrailIdentifier”guardrailIdentifier: string;Defined in: src/models/bedrock.ts:129
Guardrail identifier
guardrailVersion
Section titled “guardrailVersion”guardrailVersion: string;Defined in: src/models/bedrock.ts:132
Guardrail version (e.g., “1”, “DRAFT”)
trace?
Section titled “trace?”optional trace: "enabled" | "disabled" | "enabled_full";Defined in: src/models/bedrock.ts:135
Trace mode for evaluation.
Default Value
Section titled “Default Value”'enabled'streamProcessingMode?
Section titled “streamProcessingMode?”optional streamProcessingMode: "sync" | "async";Defined in: src/models/bedrock.ts:138
Stream processing mode
redaction?
Section titled “redaction?”optional redaction: BedrockGuardrailRedactionConfig;Defined in: src/models/bedrock.ts:141
Redaction behavior when content is blocked