Skip to content

AutomatedReasoningPolicyScenario

Source code in docs_src/capo_bedrock/types/automated_reasoning_policy_scenario.py
class AutomatedReasoningPolicyScenario(TypedDict, closed=True):
    expression: "capo_bedrock.types.automated_reasoning_policy_scenario_expression.AutomatedReasoningPolicyScenarioExpression"
    """<p>The logical expression or condition that defines this test scenario.</p>"""
    alternate_expression: "capo_bedrock.types.automated_reasoning_policy_scenario_alternate_expression.AutomatedReasoningPolicyScenarioAlternateExpression"
    """<p>An alternative way to express the same test scenario, used for validation and comparison purposes.</p>"""
    expected_result: "capo_bedrock.types.automated_reasoning_check_result.AutomatedReasoningCheckResult"
    """<p>The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).</p>"""
    rule_ids: "capo_bedrock.types.automated_reasoning_policy_definition_rule_id_list.AutomatedReasoningPolicyDefinitionRuleIdList"
    """<p>The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.</p>"""

alternate_expression instance-attribute

An alternative way to express the same test scenario, used for validation and comparison purposes.

expected_result instance-attribute

The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).

expression instance-attribute

The logical expression or condition that defines this test scenario.

rule_ids instance-attribute

The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.