Skip to main content

compute_environments

Retrieves a list of compute_environments in a region

Overview

Namecompute_environments
TypeResource
Descriptioncompute_environments
Idawscc.batch.compute_environments

Fields

NameDatatypeDescription
compute_environment_arnstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
compute_environment_arn
FROM awscc.batch.compute_environments
WHERE region = 'us-east-1'

Permissions

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

Create

Batch:CreateComputeEnvironment,
Batch:TagResource,
Batch:DescribeComputeEnvironments,
iam:CreateServiceLinkedRole,
Iam:PassRole,
Eks:DescribeCluster

List

Batch:DescribeComputeEnvironments