Class: Aws::PCS::Types::CreateQueueRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

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 one for you.

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

Returns:

  • (String)


1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1096

class CreateQueueRequest < Struct.new(
  :cluster_identifier,
  :queue_name,
  :compute_node_group_configurations,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_identifier ⇒ String

The name or ID of the cluster for which to create a queue.

Returns:

  • (String)


1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1096

class CreateQueueRequest < Struct.new(
  :cluster_identifier,
  :queue_name,
  :compute_node_group_configurations,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#compute_node_group_configurations ⇒ Array<Types::ComputeNodeGroupConfiguration>

The list of compute node group configurations to associate with the queue. Queues assign jobs to associated compute node groups.



1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1096

class CreateQueueRequest < Struct.new(
  :cluster_identifier,
  :queue_name,
  :compute_node_group_configurations,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#queue_name ⇒ String

A name to identify the queue.

Returns:

  • (String)


1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1096

class CreateQueueRequest < Struct.new(
  :cluster_identifier,
  :queue_name,
  :compute_node_group_configurations,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#slurm_configuration ⇒ Types::QueueSlurmConfigurationRequest

Additional options related to the Slurm scheduler.



1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1096

class CreateQueueRequest < Struct.new(
  :cluster_identifier,
  :queue_name,
  :compute_node_group_configurations,
  :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.

Returns:

  • (Hash<String,String>)


1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 1096

class CreateQueueRequest < Struct.new(
  :cluster_identifier,
  :queue_name,
  :compute_node_group_configurations,
  :slurm_configuration,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end