GuardrailContentFilter - Amazon Bedrock

GuardrailContentFilter

The content filter for a guardrail.

Contents

action

The guardrail action.

Type: String

Valid Values: BLOCKED

Required: Yes

confidence

The guardrail confidence.

Type: String

Valid Values: NONE | LOW | MEDIUM | HIGH

Required: Yes

type

The guardrail type.

Type: String

Valid Values: INSULTS | HATE | SEXUAL | VIOLENCE | MISCONDUCT | PROMPT_ATTACK

Required: Yes

filterStrength

The filter strength setting for the guardrail content filter.

Type: String

Valid Values: NONE | LOW | MEDIUM | HIGH

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: