Skip to content

GuardrailWordPolicyConfig

Source code in docs_src/capo_bedrock/types/guardrail_word_policy_config.py
class GuardrailWordPolicyConfig(TypedDict, closed=True):
    words_config: NotRequired[
        "capo_bedrock.types.guardrail_words_config.GuardrailWordsConfig"
    ]
    """<p>A list of words to configure for the guardrail.</p>"""
    managed_word_lists_config: NotRequired[
        "capo_bedrock.types.guardrail_managed_word_lists_config.GuardrailManagedWordListsConfig"
    ]
    """<p>A list of managed words to configure for the guardrail.</p>"""

managed_word_lists_config instance-attribute

managed_word_lists_config: NotRequired[GuardrailManagedWordListsConfig]

A list of managed words to configure for the guardrail.

words_config instance-attribute

words_config: NotRequired[GuardrailWordsConfig]

A list of words to configure for the guardrail.