AWS::PCS::ComputeNodeGroupAWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
12 configurable properties. 6 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ClusterId | string | RequiredCreate-only |
CustomLaunchTemplate | object | Required |
IamInstanceProfileArn | string | Required |
InstanceConfigs | Array<InstanceConfig> | RequiredCreate-only |
ScalingConfiguration | object | Required |
SubnetIds | Array<string> | Required |
AmiId | string | |
Name | string | Create-only |
PurchaseOption | string | |
SlurmConfiguration | object | |
SpotOptions | object | |
Tags | Any |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The unique Amazon Resource Name (ARN) of the compute node group. |
ErrorInfo | Array<ErrorInfo> | The list of errors that occurred during compute node group provisioning. |
Id | string | The generated unique ID of the compute node group. |
Status | string | The provisioning status of the compute node group. The provisioning status doesn't indicate the overall health of the compute node group. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::PCS::ComputeNodeGroup
Resources:
MyResource:
Type: AWS::PCS::ComputeNodeGroup
Properties:
ClusterId: "my-clusterid"
CustomLaunchTemplate: {}
IamInstanceProfileArn: "arn:aws:service:region:account:resource"
InstanceConfigs: []
ScalingConfiguration: {}
SubnetIds: "my-subnetids"
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
pcs:GetComputeNodeGrouppcs:ListTagsForResourceec2:DescribeImagesec2:DescribeVpcsec2:DescribeSubnetsec2:DescribeSecurityGroupsec2:DescribeLaunchTemplatesec2:DescribeLaunchTemplateVersionsec2:DescribeInstanceTypesec2:DescribeInstanceTypeOfferingsec2:DescribeImagesec2:DescribeVpcsec2:DescribeSubnetsec2:DescribeSecurityGroupsec2:DescribeLaunchTemplatesec2:DescribeLaunchTemplateVersionsec2:DescribeInstanceTypesec2:DescribeInstanceTypeOfferingspcs:ListClusterspcs:ListComputeNodeGroupsec2:DescribeImagesec2:DescribeVpcsec2:DescribeSubnetsec2:DescribeSecurityGroupsec2:DescribeLaunchTemplatesec2:DescribeLaunchTemplateVersionsec2:DescribeInstanceTypesec2:DescribeInstanceTypeOfferingsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameClusterIdInstanceConfigs