Skip to content

GuardrailTopicPolicyConfig

Source code in docs_src/capo_bedrock/types/guardrail_topic_policy_config.py
class GuardrailTopicPolicyConfig(TypedDict, closed=True):
    topics_config: "capo_bedrock.types.guardrail_topics_config.GuardrailTopicsConfig"
    """<p>A list of policies related to topics that the guardrail should deny.</p>"""
    tier_config: NotRequired[
        "capo_bedrock.types.guardrail_topics_tier_config.GuardrailTopicsTierConfig"
    ]
    """<p>The tier that your guardrail uses for denied topic filters.</p>"""

tier_config instance-attribute

tier_config: NotRequired[GuardrailTopicsTierConfig]

The tier that your guardrail uses for denied topic filters.

topics_config instance-attribute

topics_config: GuardrailTopicsConfig

A list of policies related to topics that the guardrail should deny.