Skip to content

Guardduty  >  Structures  >  ContentPolicyFilter

ContentPolicyFilter

Structure Class

ContentPolicyFilter dataclass

Contains information about a content policy filter that matched during a guardrail evaluation.

Attributes

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

The action taken by the guardrail filter.

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

The confidence level that the content matched the filter.

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

The type of content that was filtered by the guardrail.