Skip to content

Trigger

Source code in docs_src/capo_arc_region_switch/types/trigger.py
class Trigger(TypedDict, closed=True):
    description: NotRequired["str"]
    """<p>The description for a trigger.</p>"""
    target_region: "capo_arc_region_switch.types.region.Region"
    """<p>The Amazon Web Services Region for a trigger.</p>"""
    action: "capo_arc_region_switch.types.workflow_target_action.WorkflowTargetAction"
    """<p>The action to perform when the trigger fires. Valid values include <code>activate</code> and <code>deactivate</code>.</p>"""
    conditions: (
        "capo_arc_region_switch.types.trigger_condition_list.TriggerConditionList"
    )
    """<p>The conditions that must be met for the trigger to fire.</p>"""
    min_delay_minutes_between_executions: "int"
    """<p>The minimum time, in minutes, that must elapse between automatic executions of the plan.</p>"""

action instance-attribute

The action to perform when the trigger fires. Valid values include activate and deactivate.

conditions instance-attribute

The conditions that must be met for the trigger to fire.

description instance-attribute

description: NotRequired[str]

The description for a trigger.

min_delay_minutes_between_executions instance-attribute

min_delay_minutes_between_executions: int

The minimum time, in minutes, that must elapse between automatic executions of the plan.

target_region instance-attribute

target_region: Region

The Amazon Web Services Region for a trigger.