Batch.ComputeEnvironment
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-eksconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html
and compute_resources = {
spot_iam_fleet_role : string option;
maxv_cpus : int;
ec2_configuration : ec2_configuration_object list option;
bid_percentage : int option;
security_group_ids : string list option;
allocation_strategy : string option;
subnets : string list;
type_ : string;
minv_cpus : int option;
update_to_latest_image_version : bool option;
launch_template : launch_template_specification option;
image_id : string option;
instance_role : string option;
instance_types : string list option;
ec2_key_pair : string option;
placement_group : string option;
desiredv_cpus : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html
type properties = {
unmanagedv_cpus : int option;
type_ : string;
replace_compute_environment : bool option;
service_role : string option;
update_policy : update_policy option;
eks_configuration : eks_configuration option;
compute_environment_name : string option;
compute_resources : compute_resources option;
state : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html;
val make_properties :
?unmanagedv_cpus:int ->
type_:string ->
?replace_compute_environment:bool ->
?service_role:string ->
?update_policy:update_policy ->
?eks_configuration:eks_configuration ->
?compute_environment_name:string ->
?compute_resources:compute_resources ->
?state:string ->
?tags:string Stdlib__Map.Make(Stdlib.String).t ->
unit ->
properties
val make_eks_configuration :
eks_cluster_arn:string ->
kubernetes_namespace:string ->
unit ->
eks_configuration
val make_launch_template_specification :
?launch_template_name:string ->
?version:string ->
?launch_template_id:string ->
unit ->
launch_template_specification
val make_ec2_configuration_object :
?image_id_override:string ->
?image_kubernetes_version:string ->
image_type:string ->
unit ->
ec2_configuration_object
val make_update_policy :
?job_execution_timeout_minutes:int ->
?terminate_jobs_on_update:bool ->
unit ->
update_policy
val make_compute_resources :
?spot_iam_fleet_role:string ->
maxv_cpus:int ->
?ec2_configuration:ec2_configuration_object list ->
?bid_percentage:int ->
?security_group_ids:string list ->
?allocation_strategy:string ->
subnets:string list ->
type_:string ->
?minv_cpus:int ->
?update_to_latest_image_version:bool ->
?launch_template:launch_template_specification ->
?image_id:string ->
?instance_role:string ->
?instance_types:string list ->
?ec2_key_pair:string ->
?placement_group:string ->
?tags:string Stdlib__Map.Make(Stdlib.String).t ->
?desiredv_cpus:int ->
unit ->
compute_resources
val yojson_of_eks_configuration :
eks_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_launch_template_specification :
launch_template_specification ->
Yojson.Safe.t
val yojson_of_ec2_configuration_object :
ec2_configuration_object ->
Yojson.Safe.t
val yojson_of_update_policy :
update_policy ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_compute_resources :
compute_resources ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes