ComputeNodeGroupArgs

data class ComputeNodeGroupArgs(val amiId: Output<String>? = null, val clusterId: Output<String>? = null, val customLaunchTemplate: Output<CustomLaunchTemplatePropertiesArgs>? = null, val iamInstanceProfileArn: Output<String>? = null, val instanceConfigs: Output<List<ComputeNodeGroupInstanceConfigArgs>>? = null, val name: Output<String>? = null, val purchaseOption: Output<ComputeNodeGroupPurchaseOption>? = null, val scalingConfiguration: Output<ScalingConfigurationPropertiesArgs>? = null, val slurmConfiguration: Output<SlurmConfigurationPropertiesArgs>? = null, val spotOptions: Output<SpotOptionsPropertiesArgs>? = null, val subnetIds: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ComputeNodeGroupArgs>

AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.

Constructors

Link copied to clipboard
constructor(amiId: Output<String>? = null, clusterId: Output<String>? = null, customLaunchTemplate: Output<CustomLaunchTemplatePropertiesArgs>? = null, iamInstanceProfileArn: Output<String>? = null, instanceConfigs: Output<List<ComputeNodeGroupInstanceConfigArgs>>? = null, name: Output<String>? = null, purchaseOption: Output<ComputeNodeGroupPurchaseOption>? = null, scalingConfiguration: Output<ScalingConfigurationPropertiesArgs>? = null, slurmConfiguration: Output<SlurmConfigurationPropertiesArgs>? = null, spotOptions: Output<SpotOptionsPropertiesArgs>? = null, subnetIds: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val amiId: Output<String>? = null

The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.

Link copied to clipboard
val clusterId: Output<String>? = null

The ID of the cluster of the compute node group.

Link copied to clipboard

An Amazon EC2 launch template AWS PCS uses to launch compute nodes.

Link copied to clipboard
val iamInstanceProfileArn: Output<String>? = null

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 pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances correctly.

Link copied to clipboard

A list of EC2 instance configurations that AWS PCS can provision in the compute node group.

Link copied to clipboard
val name: Output<String>? = null

The name that identifies the compute node group.

Link copied to clipboard

Specifies how EC2 instances are purchased on your behalf. AWS 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.

Link copied to clipboard

Specifies the boundaries of the compute node group auto scaling.

Link copied to clipboard

Additional options related to the Slurm scheduler.

Link copied to clipboard

Additional configuration when you specify SPOT as the purchase option.

Link copied to clipboard
val subnetIds: Output<List<String>>? = null

The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.

Functions

Link copied to clipboard
open override fun toJava(): ComputeNodeGroupArgs