Glue.Trigger
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-eventbatchingcondition.html
and condition = {
crawler_name : string option;
state : string option;
crawl_state : string option;
logical_operator : string option;
job_name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-condition.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-notificationproperty.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-predicate.html
and action = {
notification_property : notification_property option;
crawler_name : string option;
timeout : int option;
job_name : string option;
arguments : Yojson.Safe.t option;
security_configuration : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-trigger-action.html
type properties = {
type_ : string;
start_on_creation : bool option;
description : string option;
actions : action list;
event_batching_condition : event_batching_condition option;
workflow_name : string option;
schedule : string option;
name : string option;
predicate : predicate option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-trigger.html;
val make_properties :
type_:string ->
?start_on_creation:bool ->
?description:string ->
actions:action list ->
?event_batching_condition:event_batching_condition ->
?workflow_name:string ->
?schedule:string ->
?tags:Yojson.Safe.t ->
?name:string ->
?predicate:predicate ->
unit ->
properties
val make_event_batching_condition :
batch_size:int ->
?batch_window:int ->
unit ->
event_batching_condition
val make_condition :
?crawler_name:string ->
?state:string ->
?crawl_state:string ->
?logical_operator:string ->
?job_name:string ->
unit ->
condition
val make_notification_property :
?notify_delay_after:int ->
unit ->
notification_property
val make_action :
?notification_property:notification_property ->
?crawler_name:string ->
?timeout:int ->
?job_name:string ->
?arguments:Yojson.Safe.t ->
?security_configuration:string ->
unit ->
action
val yojson_of_event_batching_condition :
event_batching_condition ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_condition : condition -> Yojson.Safe.t
val yojson_of_notification_property : notification_property -> Yojson.Safe.t
val yojson_of_predicate :
predicate ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_action : action -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes