Skip to main content

compute_environment

Gets an individual compute_environment resource

Overview

Namecompute_environment
TypeResource
Descriptioncompute_environment
Idawscc.batch.compute_environment

Fields

NameDatatypeDescription
compute_environment_arnstring
compute_environment_namestring
compute_resourcesobject
replace_compute_environmentboolean
service_rolestring
statestring
tagsobjectA key-value pair to associate with a resource.
typestring
update_policyobject
unmanagedv_cpusinteger
eks_configurationobject
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
compute_environment_arn,
compute_environment_name,
compute_resources,
replace_compute_environment,
service_role,
state,
tags,
type,
update_policy,
unmanagedv_cpus,
eks_configuration
FROM awscc.batch.compute_environment
WHERE data__Identifier = '<ComputeEnvironmentArn>';

Permissions

To operate on the compute_environment resource, the following permissions are required:

Read

Batch:DescribeComputeEnvironments

Update

Batch:UpdateComputeEnvironment,
Batch:DescribeComputeEnvironments,
Batch:TagResource,
Batch:UnTagResource,
Iam:PassRole,
Eks:DescribeCluster

Delete

Batch:DeleteComputeEnvironment,
Batch:DescribeComputeEnvironments,
Batch:UpdateComputeEnvironment,
Iam:PassRole,
Eks:DescribeCluster