Skip to content

Bedrock Agent Runtime  >  Structures  >  GuardrailContentFilter

GuardrailContentFilter

Structure Class

GuardrailContentFilter dataclass

Details of the content filter used in the Guardrail.

Attributes

action class-attribute instance-attribute
action: GuardrailContentPolicyAction | None = None

The action placed on the content by the Guardrail filter.

confidence class-attribute instance-attribute
confidence: GuardrailContentFilterConfidence | None = None

The confidence level regarding the content detected in the filter by the Guardrail.

type class-attribute instance-attribute
type: GuardrailContentFilterType | None = None

The type of content detected in the filter by the Guardrail.