Skip to content

Bedrock Agent  >  Structures  >  FlowCondition

FlowCondition

Structure Class

FlowCondition dataclass

Defines a condition in the condition node.

Attributes

expression class-attribute instance-attribute
expression: str | None = field(repr=False, default=None)

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
name: str

A name for the condition that you can reference.