Resource Type definition for AWS::Batch::ComputeEnvironment
type
(String)compute_environment_name
(String)compute_resources
(Attributes) (see below for nested schema)eks_configuration
(Attributes) (see below for nested schema)replace_compute_environment
(Boolean)service_role
(String)state
(String)tags
(Map of String) A key-value pair to associate with a resource.unmanagedv_cpus
(Number)update_policy
(Attributes) (see below for nested schema)compute_environment_arn
(String)id
(String) Uniquely identifies the resource.compute_resources
Required:
maxv_cpus
(Number)subnets
(List of String)type
(String)Optional:
allocation_strategy
(String)bid_percentage
(Number)desiredv_cpus
(Number)ec_2_configuration
(Attributes List) (see below for nested schema)ec_2_key_pair
(String)image_id
(String)instance_role
(String)instance_types
(List of String)launch_template
(Attributes) (see below for nested schema)minv_cpus
(Number)placement_group
(String)security_group_ids
(List of String)spot_iam_fleet_role
(String)tags
(Map of String) A key-value pair to associate with a resource.update_to_latest_image_version
(Boolean)compute_resources.ec_2_configuration
Required:
image_type
(String)Optional:
image_id_override
(String)image_kubernetes_version
(String)compute_resources.launch_template
Optional:
launch_template_id
(String)launch_template_name
(String)version
(String)eks_configuration
Optional:
eks_cluster_arn
(String)kubernetes_namespace
(String)update_policy
Optional:
job_execution_timeout_minutes
(Number)terminate_jobs_on_update
(Boolean)Import is supported using the following syntax:
$ terraform import awscc_batch_compute_environment.example <resource ID>