Module Batch.ComputeEnvironment

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html

type eks_configuration = {
  1. eks_cluster_arn : string;
  2. kubernetes_namespace : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-eksconfiguration.html

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

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-launchtemplatespecification.html

and ec2_configuration_object = {
  1. image_id_override : string option;
  2. image_kubernetes_version : string option;
  3. image_type : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html

and update_policy = {
  1. job_execution_timeout_minutes : int option;
  2. terminate_jobs_on_update : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-updatepolicy.html

and compute_resources = {
  1. spot_iam_fleet_role : string option;
  2. maxv_cpus : int;
  3. ec2_configuration : ec2_configuration_object list option;
  4. bid_percentage : int option;
  5. security_group_ids : string list option;
  6. allocation_strategy : string option;
  7. subnets : string list;
  8. type_ : string;
  9. minv_cpus : int option;
  10. update_to_latest_image_version : bool option;
  11. launch_template : launch_template_specification option;
  12. image_id : string option;
  13. instance_role : string option;
  14. instance_types : string list option;
  15. ec2_key_pair : string option;
  16. placement_group : string option;
  17. tags : string Stdlib__Map.Make(Stdlib.String).t option;
  18. desiredv_cpus : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html

type properties = {
  1. unmanagedv_cpus : int option;
  2. type_ : string;
  3. replace_compute_environment : bool option;
  4. service_role : string option;
  5. update_policy : update_policy option;
  6. eks_configuration : eks_configuration option;
  7. compute_environment_name : string option;
  8. compute_resources : compute_resources option;
  9. state : string option;
  10. tags : string Stdlib__Map.Make(Stdlib.String).t 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 ]
type attributes = {
  1. ref_ : string;
  2. compute_environment_arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string