Class: Aws::PCS::Types::CreateClusterRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::PCS::Types::CreateClusterRequest
- Defined in:
- gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#cluster_name ⇒ String
A name to identify the cluster.
-
#networking ⇒ Types::NetworkingRequest
The networking configuration used to set up the cluster's control plane.
-
#scheduler ⇒ Types::SchedulerRequest
The cluster management and job scheduling software associated with the cluster.
-
#size ⇒ String
A value that determines the maximum number of compute nodes in the cluster and the maximum number of jobs (active and queued).
-
#slurm_configuration ⇒ Types::ClusterSlurmConfigurationRequest
Additional options related to the Slurm scheduler.
-
#tags ⇒ Hash<String,String>
1 or more tags added to the resource.
Instance Attribute Details
#client_token ⇒ String
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.
518 519 520 521 522 523 524 525 526 527 528 |
# File 'gems/aws-sdk-pcs/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_name ⇒ String
A name to identify the cluster. Example: MyCluster
518 519 520 521 522 523 524 525 526 527 528 |
# File 'gems/aws-sdk-pcs/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 |
#networking ⇒ Types::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 'gems/aws-sdk-pcs/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 |
#scheduler ⇒ Types::SchedulerRequest
The cluster management and job scheduling software associated with the cluster.
518 519 520 521 522 523 524 525 526 527 528 |
# File 'gems/aws-sdk-pcs/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 |
#size ⇒ String
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 jobsMEDIUM
: 512 compute nodes and 8192 jobsLARGE
: 2048 compute nodes and 16,384 jobs
518 519 520 521 522 523 524 525 526 527 528 |
# File 'gems/aws-sdk-pcs/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_configuration ⇒ Types::ClusterSlurmConfigurationRequest
Additional options related to the Slurm scheduler.
518 519 520 521 522 523 524 525 526 527 528 |
# File 'gems/aws-sdk-pcs/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 |
#tags ⇒ Hash<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.
518 519 520 521 522 523 524 525 526 527 528 |
# File 'gems/aws-sdk-pcs/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 |