---
type: resource-type
title: ComputeEnvironment
description: aws resource type AWS::Batch::ComputeEnvironment
name: ComputeEnvironment
lexicon: aws
resource_type: AWS::Batch::ComputeEnvironment
---
`AWS::Batch::ComputeEnvironment`, a resource type of the aws lexicon.

## Properties

- `Type` (`string`, required)
- `ComputeEnvironmentArn` (`string`, optional)
- `ComputeEnvironmentName` (`string`, optional)
- `ComputeResources` (`ComputeEnvironment_ComputeResources`, optional)
- `Context` (`string`, optional)
- `EksConfiguration` (`ComputeEnvironment_EksConfiguration`, optional)
- `ReplaceComputeEnvironment` (`boolean`, optional)
- `ServiceRole` (`string`, optional)
- `State` (`string`, optional)
- `Tags` (`Record<string, unknown>`, optional): A key-value pair to associate with a resource.
- `UnmanagedvCpus` (`number`, optional)
- `UpdatePolicy` (`ComputeEnvironment_UpdatePolicy`, optional)

## Attributes

- `ComputeEnvironmentArn`
- `ComputeResources.Ec2Configuration.*.BatchImageStatus`
