GuardrailContentPolicyConfig - Amazon Bedrock
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

GuardrailContentPolicyConfig

Contains details about how to handle harmful content.

Contents

filtersConfig

Contains the type of the content filter and how strongly it should apply to prompts and model responses.

Type: Array of GuardrailContentFilterConfig objects

Array Members: Minimum number of 1 item. Maximum number of 6 items.

Required: Yes

tierConfig

The tier that your guardrail uses for content filters.

Type: GuardrailContentFiltersTierConfig object

Required: No

See Also

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