Class: Aws::PCS::Types::CreateClusterRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pcs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_nameString

A name to identify the cluster. Example: ‘MyCluster`

Returns:

  • (String)


518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#networkingTypes::NetworkingRequest

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



518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#schedulerTypes::SchedulerRequest

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



518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#sizeString

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

Returns:

  • (String)


518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#slurm_configurationTypes::ClusterSlurmConfigurationRequest

Additional options related to the Slurm scheduler.



518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

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.

Returns:

  • (Hash<String,String>)


518
519
520
521
522
523
524
525
526
527
528
# File 'lib/aws-sdk-pcs/types.rb', line 518

class CreateClusterRequest < Struct.new(
  :cluster_name,
  :scheduler,
  :size,
  :networking,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end