Skip to content

Bedrock Runtime  >  Structures  >  GuardrailConfiguration

GuardrailConfiguration

Structure Class

GuardrailConfiguration dataclass

Configuration information for a guardrail that you use with the Converse operation.

Attributes

guardrail_identifier class-attribute instance-attribute
guardrail_identifier: str = ''

The identifier for the guardrail.

guardrail_version class-attribute instance-attribute
guardrail_version: str = ''

The version of the guardrail.

trace class-attribute instance-attribute
trace: GuardrailTrace = GuardrailTrace('disabled')

The trace behavior for the guardrail.