Redshift.ScheduledAction
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html
type resize_cluster_message = {
node_type : string option;
number_of_nodes : int option;
cluster_type : string option;
classic : bool option;
cluster_identifier : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resizeclustermessage.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-pauseclustermessage.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-resumeclustermessage.html
and scheduled_action_type = {
pause_cluster : pause_cluster_message option;
resume_cluster : resume_cluster_message option;
resize_cluster : resize_cluster_message option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshift-scheduledaction-scheduledactiontype.html
type properties = {
scheduled_action_description : string option;
scheduled_action_name : string;
end_time : string option;
schedule : string option;
iam_role : string option;
start_time : string option;
enable : bool option;
target_action : scheduled_action_type option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-scheduledaction.html;
val make_properties :
?scheduled_action_description:string ->
scheduled_action_name:string ->
?end_time:string ->
?schedule:string ->
?iam_role:string ->
?start_time:string ->
?enable:bool ->
?target_action:scheduled_action_type ->
unit ->
properties
val make_resize_cluster_message :
?node_type:string ->
?number_of_nodes:int ->
?cluster_type:string ->
?classic:bool ->
cluster_identifier:string ->
unit ->
resize_cluster_message
val make_pause_cluster_message :
cluster_identifier:string ->
unit ->
pause_cluster_message
val make_resume_cluster_message :
cluster_identifier:string ->
unit ->
resume_cluster_message
val make_scheduled_action_type :
?pause_cluster:pause_cluster_message ->
?resume_cluster:resume_cluster_message ->
?resize_cluster:resize_cluster_message ->
unit ->
scheduled_action_type
val yojson_of_resize_cluster_message : resize_cluster_message -> Yojson.Safe.t
val yojson_of_pause_cluster_message : pause_cluster_message -> Yojson.Safe.t
val yojson_of_resume_cluster_message : resume_cluster_message -> Yojson.Safe.t
val yojson_of_scheduled_action_type :
scheduled_action_type ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes