Values.UpdateComputeNodeGroupRequestSourceUpdates a compute node group. You can update many of the fields related to your compute node group including the configurations for networking, compute nodes, and settings specific to your scheduler (such as Slurm).
type nonrec t = {clusterIdentifier : ClusterIdentifier.t;The name or ID of the cluster of the compute node group.
*)computeNodeGroupIdentifier : ComputeNodeGroupIdentifier.t;The name or ID of the compute node group.
*)amiId : AmiId.t option;The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. If not provided, PCS uses the AMI ID specified in the custom launch template.
*)subnetIds : StringList.t option;The list of subnet IDs where the compute node group provisions instances. The subnets must be in the same VPC as the cluster.
*)customLaunchTemplate : CustomLaunchTemplate.t option;purchaseOption : PurchaseOption.t option;Specifies how EC2 instances are purchased on your behalf. PCS supports On-Demand Instances, Spot Instances, Interruptible Capacity Reservations, On-Demand Capacity Reservations, and Amazon EC2 Capacity Blocks for ML. For more information, see Amazon EC2 billing and purchasing options in the Amazon Elastic Compute Cloud User Guide. For more information about PCS support for Capacity Blocks, see Using Amazon EC2 Capacity Blocks for ML with PCS in the PCS User Guide. For more information about PCS support for interruptible capacity reservations, see Using I-ODCRs with PCS in the PCS User Guide. Choose On-Demand if you plan to use an On-Demand Capacity Reservation (ODCR). For more information, see Using ODCRs with PCS. If you don't provide this option, it defaults to On-Demand.
*)spotOptions : SpotOptions.t option;scalingConfiguration : ScalingConfigurationRequest.t option;Specifies the boundaries of the compute node group auto scaling.
*)iamInstanceProfileArn : InstanceProfileArn.t option;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 and the role name must start with AWSPCS or must have the path /aws-pcs/. For more information, see IAM instance profiles for PCS in the PCS User Guide.
*)slurmConfiguration : UpdateComputeNodeGroupSlurmConfigurationRequest.t option;Additional options related to the Slurm scheduler.
*)clientToken : SBClientToken.t option;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.
*)}val make :
?amiId:??? ->
?subnetIds:??? ->
?customLaunchTemplate:??? ->
?purchaseOption:??? ->
?spotOptions:??? ->
?scalingConfiguration:??? ->
?iamInstanceProfileArn:??? ->
?slurmConfiguration:??? ->
?clientToken:??? ->
clusterIdentifier:ClusterIdentifier.t ->
computeNodeGroupIdentifier:ComputeNodeGroupIdentifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of String_.t ] list
| `String of ClusterIdentifier.t
| `Structure of
(string
* [> `Enum of string
| `Integer of
ScalingConfigurationRequestMinInstanceCountInteger.t
| `List of
[> `Structure of (string * [> `String of String_.t ]) list ]
list
| `String of String_.t ])
list ])
list ]