ApplicationAutoScaling.ScalableTarget
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scalabletargetaction.html
and suspended_state = {
dynamic_scaling_out_suspended : bool option;
scheduled_scaling_suspended : bool option;
dynamic_scaling_in_suspended : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-suspendedstate.html
and scheduled_action = {
timezone : string option;
scheduled_action_name : string;
end_time : string option;
schedule : string;
start_time : string option;
scalable_target_action : scalable_target_action option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html
type properties = {
scheduled_actions : scheduled_action list option;
resource_id : string;
service_namespace : string;
scalable_dimension : string;
suspended_state : suspended_state option;
min_capacity : int;
role_arn : string option;
max_capacity : int;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html;
val make_properties :
?scheduled_actions:scheduled_action list ->
resource_id:string ->
service_namespace:string ->
scalable_dimension:string ->
?suspended_state:suspended_state ->
min_capacity:int ->
?role_arn:string ->
max_capacity:int ->
unit ->
properties
val make_scalable_target_action :
?min_capacity:int ->
?max_capacity:int ->
unit ->
scalable_target_action
val make_suspended_state :
?dynamic_scaling_out_suspended:bool ->
?scheduled_scaling_suspended:bool ->
?dynamic_scaling_in_suspended:bool ->
unit ->
suspended_state
val make_scheduled_action :
?timezone:string ->
scheduled_action_name:string ->
?end_time:string ->
schedule:string ->
?start_time:string ->
?scalable_target_action:scalable_target_action ->
unit ->
scheduled_action
val yojson_of_scalable_target_action : scalable_target_action -> Yojson.Safe.t
val yojson_of_suspended_state :
suspended_state ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_scheduled_action :
scheduled_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