Skip to content

Bedrock  >  Structures  >  ModelEnforcement

ModelEnforcement

Structure Class

ModelEnforcement dataclass

Model-specific information for the enforced guardrail configuration.

Attributes

excluded_models instance-attribute
excluded_models: list[str]

Models to exclude from enforcement of the guardrail.

included_models instance-attribute
included_models: list[str]

Models to enforce the guardrail on.