CreateTriggerRequest
¶
Source code in docs_src/capo_glue/types/create_trigger_request.py
actions
instance-attribute
¶
actions: ActionList
The actions initiated by this trigger when it fires.
description
instance-attribute
¶
description: NotRequired[DescriptionString]
A description of the new trigger.
event_batching_condition
instance-attribute
¶
event_batching_condition: NotRequired[EventBatchingCondition]
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
predicate
instance-attribute
¶
predicate: NotRequired[Predicate]
A predicate to specify when the new trigger should fire.
This field is required when the trigger type is CONDITIONAL.
schedule
instance-attribute
¶
schedule: NotRequired[GenericString]
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
This field is required when the trigger type is SCHEDULED.
start_on_creation
instance-attribute
¶
start_on_creation: BooleanValue
Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
tags
instance-attribute
¶
tags: NotRequired[TagsMap]
The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
workflow_name
instance-attribute
¶
workflow_name: NotRequired[NameString]
The name of the workflow associated with the trigger.