Values_1.CreateTriggerRequestSourceCreates a new trigger. Job arguments may be logged. Do not pass plaintext secrets as arguments. Retrieve secrets from a Glue Connection, Amazon Web Services Secrets Manager or other secret management mechanism if you intend to keep them within the Job.
type nonrec t = {name : Values_0.NameString.t;The name of the trigger.
*)workflowName : Values_0.NameString.t option;The name of the workflow associated with the trigger.
*)type_ : Values_0.TriggerType.t;The type of the new trigger.
*)schedule : Values_0.GenericString.t option;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.
*)predicate : Values_0.Predicate.t option;A predicate to specify when the new trigger should fire. This field is required when the trigger type is CONDITIONAL.
*)actions : Values_0.ActionList.t;The actions initiated by this trigger when it fires.
*)description : Values_0.DescriptionString.t option;A description of the new trigger.
*)startOnCreation : Values_0.BooleanValue.t option;Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
*)eventBatchingCondition : Values_0.EventBatchingCondition.t option;Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
*)}val make :
?workflowName:??? ->
?schedule:??? ->
?predicate:??? ->
?description:??? ->
?startOnCreation:??? ->
?tags:??? ->
?eventBatchingCondition:??? ->
name:Values_0.NameString.t ->
type_:Values_0.TriggerType.t ->
actions:Values_0.ActionList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.BooleanValue.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Integer of int
| `Map of
([> `String of string ] * [> `String of string ]) list
| `String of string
| `Structure of (string * [> `Integer of int ]) list ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of Values_0.NameString.t
| `Structure of
(string
* [> `Enum of string
| `Integer of int
| `List of
[> `Structure of
(string * [> `Enum of string | `String of string ]) list ]
list ])
list ])
list ]