Module EC2.EC2Fleet

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ec2fleet.html

type accelerator_count_request = {
  1. min : int option;
  2. max : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-acceleratorcountrequest.html

and total_local_storage_gb_request = {
  1. min : float option;
  2. max : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-totallocalstoragegbrequest.html

and fleet_launch_template_specification_request = {
  1. launch_template_name : string option;
  2. version : string;
  3. launch_template_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplatespecificationrequest.html

and tag = {
  1. value : string;
  2. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

and memory_mi_b_request = {
  1. min : int option;
  2. max : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-memorymibrequest.html

and v_cpu_count_range_request = {
  1. min : int option;
  2. max : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-vcpucountrangerequest.html

and baseline_ebs_bandwidth_mbps_request = {
  1. min : int option;
  2. max : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-baselineebsbandwidthmbpsrequest.html

and accelerator_total_memory_mi_b_request = {
  1. min : int option;
  2. max : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-acceleratortotalmemorymibrequest.html

and network_bandwidth_gbps_request = {
  1. min : float option;
  2. max : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-networkbandwidthgbpsrequest.html

and capacity_rebalance = {
  1. termination_delay : int option;
  2. replacement_strategy : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-capacityrebalance.html

and network_interface_count_request = {
  1. min : int option;
  2. max : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-networkinterfacecountrequest.html

and placement = {
  1. group_name : string option;
  2. tenancy : string option;
  3. spread_domain : string option;
  4. partition_number : int option;
  5. availability_zone : string option;
  6. affinity : string option;
  7. host_id : string option;
  8. host_resource_group_arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-placement.html

and target_capacity_specification_request = {
  1. default_target_capacity_type : string option;
  2. total_target_capacity : int;
  3. on_demand_target_capacity : int option;
  4. spot_target_capacity : int option;
  5. target_capacity_unit_type : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-targetcapacityspecificationrequest.html

and capacity_reservation_options_request = {
  1. usage_strategy : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-capacityreservationoptionsrequest.html

and memory_gi_b_per_v_cpu_request = {
  1. min : float option;
  2. max : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-memorygibpervcpurequest.html

and on_demand_options_request = {
  1. single_availability_zone : bool option;
  2. allocation_strategy : string option;
  3. single_instance_type : bool option;
  4. min_target_capacity : int option;
  5. max_total_price : string option;
  6. capacity_reservation_options : capacity_reservation_options_request option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-ondemandoptionsrequest.html

and instance_requirements_request = {
  1. local_storage_types : string list option;
  2. instance_generations : string list option;
  3. network_interface_count : network_interface_count_request option;
  4. memory_gi_b_per_v_cpu : memory_gi_b_per_v_cpu_request option;
  5. accelerator_types : string list option;
  6. v_cpu_count : v_cpu_count_range_request option;
  7. excluded_instance_types : string list option;
  8. accelerator_manufacturers : string list option;
  9. allowed_instance_types : string list option;
  10. local_storage : string option;
  11. cpu_manufacturers : string list option;
  12. network_bandwidth_gbps : network_bandwidth_gbps_request option;
  13. accelerator_count : accelerator_count_request option;
  14. bare_metal : string option;
  15. require_hibernate_support : bool option;
  16. spot_max_price_percentage_over_lowest_price : int option;
  17. baseline_ebs_bandwidth_mbps : baseline_ebs_bandwidth_mbps_request option;
  18. on_demand_max_price_percentage_over_lowest_price : int option;
  19. accelerator_names : string list option;
  20. accelerator_total_memory_mib : accelerator_total_memory_mi_b_request option;
  21. burstable_performance : string option;
  22. memory_mib : memory_mi_b_request option;
  23. total_local_storage_gb : total_local_storage_gb_request option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-instancerequirementsrequest.html

and tag_specification = {
  1. resource_type : string option;
  2. tags : tag list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-tagspecification.html

and maintenance_strategies = {
  1. capacity_rebalance : capacity_rebalance option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-maintenancestrategies.html

and spot_options_request = {
  1. single_availability_zone : bool option;
  2. allocation_strategy : string option;
  3. single_instance_type : bool option;
  4. min_target_capacity : int option;
  5. max_total_price : string option;
  6. maintenance_strategies : maintenance_strategies option;
  7. instance_interruption_behavior : string option;
  8. instance_pools_to_use_count : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-spotoptionsrequest.html

and fleet_launch_template_overrides_request = {
  1. weighted_capacity : float option;
  2. placement : placement option;
  3. priority : float option;
  4. availability_zone : string option;
  5. subnet_id : string option;
  6. instance_requirements : instance_requirements_request option;
  7. instance_type : string option;
  8. max_price : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplateoverridesrequest.html

and fleet_launch_template_config_request = {
  1. launch_template_specification : fleet_launch_template_specification_request option;
  2. overrides : fleet_launch_template_overrides_request list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-fleetlaunchtemplateconfigrequest.html

type properties = {
  1. context : string option;
  2. target_capacity_specification : target_capacity_specification_request;
  3. on_demand_options : on_demand_options_request option;
  4. type_ : string option;
  5. excess_capacity_termination_policy : string option;
  6. tag_specifications : tag_specification list option;
  7. spot_options : spot_options_request option;
  8. valid_from : string option;
  9. replace_unhealthy_instances : bool option;
  10. launch_template_configs : fleet_launch_template_config_request list;
  11. terminate_instances_with_expiration : bool option;
  12. valid_until : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ec2fleet.html;

val make_properties : ?context:string -> target_capacity_specification:target_capacity_specification_request -> ?on_demand_options:on_demand_options_request -> ?type_:string -> ?excess_capacity_termination_policy:string -> ?tag_specifications:tag_specification list -> ?spot_options:spot_options_request -> ?valid_from:string -> ?replace_unhealthy_instances:bool -> launch_template_configs:fleet_launch_template_config_request list -> ?terminate_instances_with_expiration:bool -> ?valid_until:string -> unit -> properties
val make_accelerator_count_request : ?min:int -> ?max:int -> unit -> accelerator_count_request
val make_total_local_storage_gb_request : ?min:float -> ?max:float -> unit -> total_local_storage_gb_request
val make_fleet_launch_template_specification_request : ?launch_template_name:string -> version:string -> ?launch_template_id:string -> unit -> fleet_launch_template_specification_request
val make_tag : value:string -> key:string -> unit -> tag
val make_memory_mi_b_request : ?min:int -> ?max:int -> unit -> memory_mi_b_request
val make_v_cpu_count_range_request : ?min:int -> ?max:int -> unit -> v_cpu_count_range_request
val make_baseline_ebs_bandwidth_mbps_request : ?min:int -> ?max:int -> unit -> baseline_ebs_bandwidth_mbps_request
val make_accelerator_total_memory_mi_b_request : ?min:int -> ?max:int -> unit -> accelerator_total_memory_mi_b_request
val make_network_bandwidth_gbps_request : ?min:float -> ?max:float -> unit -> network_bandwidth_gbps_request
val make_capacity_rebalance : ?termination_delay:int -> ?replacement_strategy:string -> unit -> capacity_rebalance
val make_network_interface_count_request : ?min:int -> ?max:int -> unit -> network_interface_count_request
val make_placement : ?group_name:string -> ?tenancy:string -> ?spread_domain:string -> ?partition_number:int -> ?availability_zone:string -> ?affinity:string -> ?host_id:string -> ?host_resource_group_arn:string -> unit -> placement
val make_target_capacity_specification_request : ?default_target_capacity_type:string -> total_target_capacity:int -> ?on_demand_target_capacity:int -> ?spot_target_capacity:int -> ?target_capacity_unit_type:string -> unit -> target_capacity_specification_request
val make_capacity_reservation_options_request : ?usage_strategy:string -> unit -> capacity_reservation_options_request
val make_memory_gi_b_per_v_cpu_request : ?min:float -> ?max:float -> unit -> memory_gi_b_per_v_cpu_request
val make_on_demand_options_request : ?single_availability_zone:bool -> ?allocation_strategy:string -> ?single_instance_type:bool -> ?min_target_capacity:int -> ?max_total_price:string -> ?capacity_reservation_options:capacity_reservation_options_request -> unit -> on_demand_options_request
val make_instance_requirements_request : ?local_storage_types:string list -> ?instance_generations:string list -> ?network_interface_count:network_interface_count_request -> ?memory_gi_b_per_v_cpu:memory_gi_b_per_v_cpu_request -> ?accelerator_types:string list -> ?v_cpu_count:v_cpu_count_range_request -> ?excluded_instance_types:string list -> ?accelerator_manufacturers:string list -> ?allowed_instance_types:string list -> ?local_storage:string -> ?cpu_manufacturers:string list -> ?network_bandwidth_gbps:network_bandwidth_gbps_request -> ?accelerator_count:accelerator_count_request -> ?bare_metal:string -> ?require_hibernate_support:bool -> ?spot_max_price_percentage_over_lowest_price:int -> ?baseline_ebs_bandwidth_mbps:baseline_ebs_bandwidth_mbps_request -> ?on_demand_max_price_percentage_over_lowest_price:int -> ?accelerator_names:string list -> ?accelerator_total_memory_mib:accelerator_total_memory_mi_b_request -> ?burstable_performance:string -> ?memory_mib:memory_mi_b_request -> ?total_local_storage_gb:total_local_storage_gb_request -> unit -> instance_requirements_request
val make_tag_specification : ?resource_type:string -> ?tags:tag list -> unit -> tag_specification
val make_maintenance_strategies : ?capacity_rebalance:capacity_rebalance -> unit -> maintenance_strategies
val make_spot_options_request : ?single_availability_zone:bool -> ?allocation_strategy:string -> ?single_instance_type:bool -> ?min_target_capacity:int -> ?max_total_price:string -> ?maintenance_strategies:maintenance_strategies -> ?instance_interruption_behavior:string -> ?instance_pools_to_use_count:int -> unit -> spot_options_request
val make_fleet_launch_template_overrides_request : ?weighted_capacity:float -> ?placement:placement -> ?priority:float -> ?availability_zone:string -> ?subnet_id:string -> ?instance_requirements:instance_requirements_request -> ?instance_type:string -> ?max_price:string -> unit -> fleet_launch_template_overrides_request
val make_fleet_launch_template_config_request : ?launch_template_specification:fleet_launch_template_specification_request -> ?overrides:fleet_launch_template_overrides_request list -> unit -> fleet_launch_template_config_request
val yojson_of_accelerator_count_request : accelerator_count_request -> Yojson.Safe.t
val yojson_of_total_local_storage_gb_request : total_local_storage_gb_request -> Yojson.Safe.t
val yojson_of_fleet_launch_template_specification_request : fleet_launch_template_specification_request -> Yojson.Safe.t
val yojson_of_tag : tag -> Yojson.Safe.t
val yojson_of_memory_mi_b_request : memory_mi_b_request -> Yojson.Safe.t
val yojson_of_v_cpu_count_range_request : v_cpu_count_range_request -> Yojson.Safe.t
val yojson_of_baseline_ebs_bandwidth_mbps_request : baseline_ebs_bandwidth_mbps_request -> Yojson.Safe.t
val yojson_of_accelerator_total_memory_mi_b_request : accelerator_total_memory_mi_b_request -> Yojson.Safe.t
val yojson_of_network_bandwidth_gbps_request : network_bandwidth_gbps_request -> Yojson.Safe.t
val yojson_of_capacity_rebalance : capacity_rebalance -> Yojson.Safe.t
val yojson_of_network_interface_count_request : network_interface_count_request -> Yojson.Safe.t
val yojson_of_placement : placement -> Yojson.Safe.t
val yojson_of_target_capacity_specification_request : target_capacity_specification_request -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_capacity_reservation_options_request : capacity_reservation_options_request -> Yojson.Safe.t
val yojson_of_memory_gi_b_per_v_cpu_request : memory_gi_b_per_v_cpu_request -> Yojson.Safe.t
val yojson_of_on_demand_options_request : on_demand_options_request -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_instance_requirements_request : instance_requirements_request -> Yojson.Safe.t
val yojson_of_tag_specification : tag_specification -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_maintenance_strategies : maintenance_strategies -> Yojson.Safe.t
val yojson_of_spot_options_request : spot_options_request -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_fleet_launch_template_overrides_request : fleet_launch_template_overrides_request -> Yojson.Safe.t
val yojson_of_fleet_launch_template_config_request : fleet_launch_template_config_request -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. fleet_id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string