Module Values.CreateClusterRequestSource

Creates a cluster in your account. PCS creates the cluster controller in a service-owned account. The cluster controller communicates with the cluster resources in your account. The subnets and security groups for the cluster must already exist before you use this API action. It takes time for PCS to create the cluster. The cluster is in a Creating state until it is ready to use. There can only be 1 cluster in a Creating state per Amazon Web Services Region per Amazon Web Services account. CreateCluster fails with a ServiceQuotaExceededException if there is already a cluster in a Creating state.

Sourcetype nonrec t = {
  1. clusterName : ClusterName.t;
    (*

    A name to identify the cluster. Example: MyCluster

    *)
  2. scheduler : SchedulerRequest.t;
    (*

    The cluster management and job scheduling software associated with the cluster.

    *)
  3. size : Size.t;
    (*

    A value that determines the maximum number of compute nodes in the cluster and the maximum number of jobs (active and queued). SMALL: 32 compute nodes and 256 jobs MEDIUM: 512 compute nodes and 8192 jobs LARGE: 2048 compute nodes and 16,384 jobs

    *)
  4. networking : NetworkingRequest.t;
    (*

    The networking configuration used to set up the cluster's control plane.

    *)
  5. slurmConfiguration : ClusterSlurmConfigurationRequest.t option;
    (*

    Additional options related to the Slurm scheduler.

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

    *)
  7. tags : RequestTagMap.t option;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?slurmConfiguration:??? -> ?clientToken:??? -> ?tags:??? -> clusterName:ClusterName.t -> scheduler:SchedulerRequest.t -> size:Size.t -> networking:NetworkingRequest.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClusterName.t | `Structure of (string * [> `Enum of string | `Integer of ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger.t | `List of [> `String of SubnetId.t | `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of AccountingRequestDefaultPurgeTimeInDaysInteger.t ]) list ]) list ]) 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