AWS::Batch::ComputeEnvironmentResource Type definition for AWS::Batch::ComputeEnvironment
11 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Type | string | RequiredCreate-only |
ComputeEnvironmentName | string | Create-only |
ComputeResources | ComputeResources | |
Context | string | |
EksConfiguration | EksConfiguration | Create-only |
ReplaceComputeEnvironment | boolean | Write-only |
ServiceRole | string | |
State | string | |
Tags | object | Create-only |
UnmanagedvCpus | integer | |
UpdatePolicy | UpdatePolicy | Write-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ComputeEnvironmentArn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Batch::ComputeEnvironment
Resources:
MyResource:
Type: AWS::Batch::ComputeEnvironment
Properties:
Type: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
Batch:CreateComputeEnvironmentBatch:TagResourceBatch:DescribeComputeEnvironmentsiam:CreateServiceLinkedRoleIam:PassRoleEks:DescribeClusterec2:DescribeLaunchTemplateVersionsBatch:DescribeComputeEnvironmentsBatch:UpdateComputeEnvironmentBatch:DescribeComputeEnvironmentsBatch:TagResourceBatch:UnTagResourceIam:PassRoleEks:DescribeClusterec2:DescribeLaunchTemplateVersionsBatch:DeleteComputeEnvironmentBatch:DescribeComputeEnvironmentsBatch:UpdateComputeEnvironmentIam:PassRoleEks:DescribeClusterec2:DescribeLaunchTemplateVersionsBatch:DescribeComputeEnvironmentsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterComputeEnvironmentArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ComputeResources/SpotIamFleetRoleComputeEnvironmentNameTagsTypeEksConfiguration