CreateComputeNodeGroupRequest
Types
Properties
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.
The name or ID of the cluster to create a compute node group in.
A name to identify the cluster. Example: MyCluster
An Amazon EC2 launch template Amazon Web Services PCS uses to launch compute nodes.
The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the pcs:RegisterComputeNodeGroupInstance
permission. The resource identifier of the ARN must start with AWSPCS
or it must have /aws-pcs/
in its path.
A list of EC2 instance configurations that Amazon Web Services PCS can provision in the compute node group.
Specifies how EC2 instances are purchased on your behalf. Amazon Web Services PCS supports On-Demand and Spot instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand.
Specifies the boundaries of the compute node group auto scaling.
Additional options related to the Slurm scheduler.
Additional configuration when you specify SPOT
as the purchaseOption
for the CreateComputeNodeGroup
API action.