Delete Compute Environment
batch_delete_compute_environment | R Documentation |
Deletes an Batch compute environment¶
Description¶
Deletes an Batch compute environment.
Before you can delete a compute environment, you must set its state to
DISABLED
with the update_compute_environment
API operation and
disassociate it from any job queues with the update_job_queue
API
operation. Compute environments that use Fargate resources must
terminate all active jobs on that compute environment before deleting
the compute environment. If this isn't done, the compute environment
enters an invalid state.
Usage¶
Arguments¶
computeEnvironment
[required] The name or Amazon Resource Name (ARN) of the compute environment to delete.
Value¶
An empty list.