Module Values_1.CreateTriggerRequestSource

Creates 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.

Sourcetype nonrec t = {
  1. name : Values_0.NameString.t;
    (*

    The name of the trigger.

    *)
  2. workflowName : Values_0.NameString.t option;
    (*

    The name of the workflow associated with the trigger.

    *)
  3. type_ : Values_0.TriggerType.t;
    (*

    The type of the new trigger.

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. actions : Values_0.ActionList.t;
    (*

    The actions initiated by this trigger when it fires.

    *)
  7. description : Values_0.DescriptionString.t option;
    (*

    A description of the new trigger.

    *)
  8. 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.

    *)
  9. tags : TagsMap.t option;
    (*

    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.

    *)
  10. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?workflowName:??? -> ?schedule:??? -> ?predicate:??? -> ?description:??? -> ?startOnCreation:??? -> ?tags:??? -> ?eventBatchingCondition:??? -> name:Values_0.NameString.t -> type_:Values_0.TriggerType.t -> actions:Values_0.ActionList.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t