Creates a new trigger.
See https://www.paws-r-sdk.com/docs/glue_create_trigger/ for full documentation.
Usage
glue_create_trigger(
Name,
WorkflowName = NULL,
Type,
Schedule = NULL,
Predicate = NULL,
Actions,
Description = NULL,
StartOnCreation = NULL,
Tags = NULL,
EventBatchingCondition = NULL
)Arguments
- Name
[required] The name of the trigger.
- WorkflowName
The name of the workflow associated with the trigger.
- Type
[required] The type of the new trigger.
- Schedule
A
cronexpression 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.
- Predicate
A predicate to specify when the new trigger should fire.
This field is required when the trigger type is
CONDITIONAL.- Actions
[required] The actions initiated by this trigger when it fires.
- Description
A description of the new trigger.
- StartOnCreation
Set to
trueto startSCHEDULEDandCONDITIONALtriggers when created. True is not supported forON_DEMANDtriggers.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.
- EventBatchingCondition
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.