OpsWorks.Layer
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
and volume_configuration = {
encrypted : bool option;
iops : int option;
mount_point : string option;
number_of_disks : int option;
raid_level : int option;
size : int option;
volume_type : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-volumeconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html
and recipes = {
configure : string list option;
deploy : string list option;
setup : string list option;
shutdown : string list option;
undeploy : string list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html
and auto_scaling_thresholds = {
cpu_threshold : float option;
ignore_metrics_time : int option;
instance_count : int option;
load_threshold : float option;
memory_threshold : float option;
thresholds_wait_time : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling-autoscalingthresholds.html
and load_based_auto_scaling = {
down_scaling : auto_scaling_thresholds option;
enable : bool option;
up_scaling : auto_scaling_thresholds option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html
and lifecycle_event_configuration = {
shutdown_event_configuration : shutdown_event_configuration option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration.html
type properties = {
attributes_ : string Stdlib__Map.Make(Stdlib.String).t option;
auto_assign_elastic_ips : bool;
auto_assign_public_ips : bool;
custom_instance_profile_arn : string option;
custom_json : Yojson.Safe.t option;
custom_recipes : recipes option;
custom_security_group_ids : string list option;
enable_auto_healing : bool;
install_updates_on_boot : bool option;
lifecycle_event_configuration : lifecycle_event_configuration option;
load_based_auto_scaling : load_based_auto_scaling option;
name : string;
packages : string list option;
shortname : string;
stack_id : string;
type_ : string;
use_ebs_optimized_instances : bool option;
volume_configurations : volume_configuration list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-layer.html;
val make_properties :
?attributes_:string Stdlib__Map.Make(Stdlib.String).t ->
auto_assign_elastic_ips:bool ->
auto_assign_public_ips:bool ->
?custom_instance_profile_arn:string ->
?custom_json:Yojson.Safe.t ->
?custom_recipes:recipes ->
?custom_security_group_ids:string list ->
enable_auto_healing:bool ->
?install_updates_on_boot:bool ->
?lifecycle_event_configuration:lifecycle_event_configuration ->
?load_based_auto_scaling:load_based_auto_scaling ->
name:string ->
?packages:string list ->
shortname:string ->
stack_id:string ->
?tags:tag list ->
type_:string ->
?use_ebs_optimized_instances:bool ->
?volume_configurations:volume_configuration list ->
unit ->
properties
val make_tag : key:string -> value:string -> unit -> tag
val make_volume_configuration :
?encrypted:bool ->
?iops:int ->
?mount_point:string ->
?number_of_disks:int ->
?raid_level:int ->
?size:int ->
?volume_type:string ->
unit ->
volume_configuration
val make_shutdown_event_configuration :
?delay_until_elb_connections_drained:bool ->
?execution_timeout:int ->
unit ->
shutdown_event_configuration
val make_recipes :
?configure:string list ->
?deploy:string list ->
?setup:string list ->
?shutdown:string list ->
?undeploy:string list ->
unit ->
recipes
val make_auto_scaling_thresholds :
?cpu_threshold:float ->
?ignore_metrics_time:int ->
?instance_count:int ->
?load_threshold:float ->
?memory_threshold:float ->
?thresholds_wait_time:int ->
unit ->
auto_scaling_thresholds
val make_load_based_auto_scaling :
?down_scaling:auto_scaling_thresholds ->
?enable:bool ->
?up_scaling:auto_scaling_thresholds ->
unit ->
load_based_auto_scaling
val make_lifecycle_event_configuration :
?shutdown_event_configuration:shutdown_event_configuration ->
unit ->
lifecycle_event_configuration
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_volume_configuration :
volume_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_shutdown_event_configuration :
shutdown_event_configuration ->
Yojson.Safe.t
val yojson_of_recipes : recipes -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_auto_scaling_thresholds :
auto_scaling_thresholds ->
Yojson.Safe.t
val yojson_of_load_based_auto_scaling :
load_based_auto_scaling ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_lifecycle_event_configuration :
lifecycle_event_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes