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_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)


695
696
697
698
699
700
701
702
703
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 695

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

#cluster_identifierString

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

Returns:

  • (String)


695
696
697
698
699
700
701
702
703
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 695

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

#compute_node_group_configurationsArray<Types::ComputeNodeGroupConfiguration>

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



695
696
697
698
699
700
701
702
703
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 695

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

#queue_nameString

A name to identify the queue.

Returns:

  • (String)


695
696
697
698
699
700
701
702
703
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 695

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


695
696
697
698
699
700
701
702
703
# File 'gems/aws-sdk-pcs/lib/aws-sdk-pcs/types.rb', line 695

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