

# Queue
<a name="API_Queue"></a>

A queue resource.

## Contents
<a name="API_Queue_Contents"></a>

 ** arn **   <a name="PCS-Type-Queue-arn"></a>
The unique Amazon Resource Name (ARN) of the queue.  
Type: String  
Required: Yes

 ** clusterId **   <a name="PCS-Type-Queue-clusterId"></a>
The ID of the cluster of the queue.  
Type: String  
Required: Yes

 ** computeNodeGroupConfigurations **   <a name="PCS-Type-Queue-computeNodeGroupConfigurations"></a>
The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.  
Type: Array of [ComputeNodeGroupConfiguration](API_ComputeNodeGroupConfiguration.md) objects  
Required: Yes

 ** createdAt **   <a name="PCS-Type-Queue-createdAt"></a>
The date and time the resource was created.  
Type: Timestamp  
Required: Yes

 ** id **   <a name="PCS-Type-Queue-id"></a>
The generated unique ID of the queue.  
Type: String  
Required: Yes

 ** modifiedAt **   <a name="PCS-Type-Queue-modifiedAt"></a>
The date and time the resource was modified.  
Type: Timestamp  
Required: Yes

 ** name **   <a name="PCS-Type-Queue-name"></a>
The name that identifies the queue.  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 25.  
Pattern: `(?!pcs_)^[A-Za-z][A-Za-z0-9-]+`   
Required: Yes

 ** status **   <a name="PCS-Type-Queue-status"></a>
The provisioning status of the queue.  
The provisioning status doesn't indicate the overall health of the queue.
The resource enters the `SUSPENDING` and `SUSPENDED` states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is `SUSPENDED`. For more information, see [Frequently asked questions about Slurm versions in AWS PCS](https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html) in the * AWS PCS User Guide*.
Type: String  
Valid Values: `CREATING | ACTIVE | UPDATING | DELETING | CREATE_FAILED | DELETE_FAILED | UPDATE_FAILED | SUSPENDING | SUSPENDED | RESUMING`   
Required: Yes

 ** errorInfo **   <a name="PCS-Type-Queue-errorInfo"></a>
The list of errors that occurred during queue provisioning.  
Type: Array of [ErrorInfo](API_ErrorInfo.md) objects  
Required: No

 ** slurmConfiguration **   <a name="PCS-Type-Queue-slurmConfiguration"></a>
Additional options related to the Slurm scheduler.  
Type: [QueueSlurmConfiguration](API_QueueSlurmConfiguration.md) object  
Required: No

## See Also
<a name="API_Queue_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/pcs-2023-02-10/Queue) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/pcs-2023-02-10/Queue) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/pcs-2023-02-10/Queue) 