Module Values.ComputeNodeGroupSource

A compute node group associated with a cluster.

Sourcetype nonrec t = {
  1. name : ComputeNodeGroupName.t option;
    (*

    The name that identifies the compute node group.

    *)
  2. id : String_.t option;
    (*

    The generated unique ID of the compute node group.

    *)
  3. arn : String_.t option;
    (*

    The unique Amazon Resource Name (ARN) of the compute node group.

    *)
  4. clusterId : String_.t option;
    (*

    The ID of the cluster of the compute node group.

    *)
  5. createdAt : SyntheticTimestamp_date_time.t option;
    (*

    The date and time the resource was created.

    *)
  6. modifiedAt : SyntheticTimestamp_date_time.t option;
    (*

    The date and time the resource was modified.

    *)
  7. status : ComputeNodeGroupStatus.t option;
    (*

    The provisioning status of the compute node group. The provisioning status doesn't indicate the overall health of the compute node group. The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.

    *)
  8. 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.

    *)
  9. subnetIds : SubnetIdList.t option;
    (*

    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.

    *)
  10. 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.

    *)
  11. customLaunchTemplate : CustomLaunchTemplate.t option;
  12. 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.

    *)
  13. scalingConfiguration : ScalingConfiguration.t option;
  14. instanceConfigs : InstanceList.t option;
    (*

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

    *)
  15. spotOptions : SpotOptions.t option;
  16. slurmConfiguration : ComputeNodeGroupSlurmConfiguration.t option;
  17. errorInfo : ErrorInfoList.t option;
    (*

    The list of errors that occurred during compute node group provisioning.

    *)
}
Sourceval make : ?name:??? -> ?id:??? -> ?arn:??? -> ?clusterId:??? -> ?createdAt:??? -> ?modifiedAt:??? -> ?status:??? -> ?amiId:??? -> ?subnetIds:??? -> ?purchaseOption:??? -> ?customLaunchTemplate:??? -> ?iamInstanceProfileArn:??? -> ?scalingConfiguration:??? -> ?instanceConfigs:??? -> ?spotOptions:??? -> ?slurmConfiguration:??? -> ?errorInfo:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of SubnetId.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of ComputeNodeGroupName.t | `Structure of (string * [> `Enum of string | `Integer of ScalingConfigurationMinInstanceCountInteger.t | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list | `Timestamp of SyntheticTimestamp_date_time.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t