compute_environment
Gets an individual compute_environment
resource
Overview
Name | compute_environment |
Type | Resource |
Description | compute_environment |
Id | awscc.batch.compute_environment |
Fields
Name | Datatype | Description |
---|---|---|
compute_environment_arn | string | |
compute_environment_name | string | |
compute_resources | object | |
replace_compute_environment | boolean | |
service_role | string | |
state | string | |
tags | object | A key-value pair to associate with a resource. |
type | string | |
update_policy | object | |
unmanagedv_cpus | integer | |
eks_configuration | object | |
region | string | AWS 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