Skip to content

TransitionEvent

Source code in docs_src/capo_iot_events/types/transition_event.py
class TransitionEvent(TypedDict, closed=True):
    event_name: "capo_iot_events.types.event_name.EventName"
    """<p>The name of the transition event.</p>"""
    condition: "capo_iot_events.types.condition.Condition"
    """<p>Required. A Boolean expression that when TRUE causes the actions to be performed and the <code>nextState</code> to be entered.</p>"""
    actions: NotRequired["capo_iot_events.types.actions.Actions"]
    """<p>The actions to be performed.</p>"""
    next_state: "capo_iot_events.types.state_name.StateName"
    """<p>The next state to enter.</p>"""

actions instance-attribute

actions: NotRequired[Actions]

The actions to be performed.

condition instance-attribute

condition: Condition

Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.

event_name instance-attribute

event_name: EventName

The name of the transition event.

next_state instance-attribute

next_state: StateName

The next state to enter.