Skip to content

FlowCondition

Source code in docs_src/capo_bedrock_agent/types/flow_condition.py
class FlowCondition(TypedDict, closed=True):
    name: "capo_bedrock_agent.types.flow_condition_name.FlowConditionName"
    """<p>A name for the condition that you can reference.</p>"""
    expression: NotRequired[
        "capo_bedrock_agent.types.flow_condition_expression.FlowConditionExpression"
    ]
    """<p>Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-how-it-works.html#flows-nodes">Node types in prompt flows</a>.</p>"""

expression instance-attribute

expression: NotRequired[FlowConditionExpression]

Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.

name instance-attribute

A name for the condition that you can reference.