1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. pcs
  6. Queue

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    AWS::PCS::Queue resource creates an AWS PCS queue.

    Create Queue Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Queue(name: string, args: QueueArgs, opts?: CustomResourceOptions);
    @overload
    def Queue(resource_name: str,
              args: QueueArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Queue(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              cluster_id: Optional[str] = None,
              compute_node_group_configurations: Optional[Sequence[QueueComputeNodeGroupConfigurationArgs]] = None,
              name: Optional[str] = None,
              slurm_configuration: Optional[SlurmConfigurationPropertiesArgs] = None,
              tags: Optional[Mapping[str, str]] = None)
    func NewQueue(ctx *Context, name string, args QueueArgs, opts ...ResourceOption) (*Queue, error)
    public Queue(string name, QueueArgs args, CustomResourceOptions? opts = null)
    public Queue(String name, QueueArgs args)
    public Queue(String name, QueueArgs args, CustomResourceOptions options)
    
    type: aws-native:pcs:Queue
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_pcs_queue" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args QueueArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Queue Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Queue resource accepts the following input properties:

    ClusterId string
    The ID of the cluster of the queue.
    ComputeNodeGroupConfigurations List<Pulumi.AwsNative.Pcs.Inputs.QueueComputeNodeGroupConfiguration>
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    Name string
    The name that identifies the queue.
    SlurmConfiguration Pulumi.AwsNative.Pcs.Inputs.SlurmConfigurationProperties
    The Slurm configuration for the queue.
    Tags Dictionary<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.
    ClusterId string
    The ID of the cluster of the queue.
    ComputeNodeGroupConfigurations []QueueComputeNodeGroupConfigurationArgs
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    Name string
    The name that identifies the queue.
    SlurmConfiguration SlurmConfigurationPropertiesArgs
    The Slurm configuration for the queue.
    Tags map[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.
    cluster_id string
    The ID of the cluster of the queue.
    compute_node_group_configurations list(object)
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    name string
    The name that identifies the queue.
    slurm_configuration object
    The Slurm configuration for the queue.
    tags map(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.
    clusterId String
    The ID of the cluster of the queue.
    computeNodeGroupConfigurations List<QueueComputeNodeGroupConfiguration>
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    name String
    The name that identifies the queue.
    slurmConfiguration SlurmConfigurationProperties
    The Slurm configuration for the queue.
    tags Map<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.
    clusterId string
    The ID of the cluster of the queue.
    computeNodeGroupConfigurations QueueComputeNodeGroupConfiguration[]
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    name string
    The name that identifies the queue.
    slurmConfiguration SlurmConfigurationProperties
    The Slurm configuration for the queue.
    tags {[key: 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.
    cluster_id str
    The ID of the cluster of the queue.
    compute_node_group_configurations Sequence[QueueComputeNodeGroupConfigurationArgs]
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    name str
    The name that identifies the queue.
    slurm_configuration SlurmConfigurationPropertiesArgs
    The Slurm configuration for the queue.
    tags Mapping[str, str]
    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.
    clusterId String
    The ID of the cluster of the queue.
    computeNodeGroupConfigurations List<Property Map>
    The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
    name String
    The name that identifies the queue.
    slurmConfiguration Property Map
    The Slurm configuration for the queue.
    tags Map<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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Queue resource produces the following output properties:

    Arn string
    The unique Amazon Resource Name (ARN) of the queue.
    AwsId string
    The generated unique ID of the queue.
    ErrorInfo List<Pulumi.AwsNative.Pcs.Outputs.QueueErrorInfo>
    The list of errors that occurred during queue provisioning.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status Pulumi.AwsNative.Pcs.QueueStatus
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
    Arn string
    The unique Amazon Resource Name (ARN) of the queue.
    AwsId string
    The generated unique ID of the queue.
    ErrorInfo []QueueErrorInfo
    The list of errors that occurred during queue provisioning.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status QueueStatus
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
    arn string
    The unique Amazon Resource Name (ARN) of the queue.
    aws_id string
    The generated unique ID of the queue.
    error_info list(object)
    The list of errors that occurred during queue provisioning.
    id string
    The provider-assigned unique ID for this managed resource.
    status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED"
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
    arn String
    The unique Amazon Resource Name (ARN) of the queue.
    awsId String
    The generated unique ID of the queue.
    errorInfo List<QueueErrorInfo>
    The list of errors that occurred during queue provisioning.
    id String
    The provider-assigned unique ID for this managed resource.
    status QueueStatus
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
    arn string
    The unique Amazon Resource Name (ARN) of the queue.
    awsId string
    The generated unique ID of the queue.
    errorInfo QueueErrorInfo[]
    The list of errors that occurred during queue provisioning.
    id string
    The provider-assigned unique ID for this managed resource.
    status QueueStatus
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
    arn str
    The unique Amazon Resource Name (ARN) of the queue.
    aws_id str
    The generated unique ID of the queue.
    error_info Sequence[QueueErrorInfo]
    The list of errors that occurred during queue provisioning.
    id str
    The provider-assigned unique ID for this managed resource.
    status QueueStatus
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
    arn String
    The unique Amazon Resource Name (ARN) of the queue.
    awsId String
    The generated unique ID of the queue.
    errorInfo List<Property Map>
    The list of errors that occurred during queue provisioning.
    id String
    The provider-assigned unique ID for this managed resource.
    status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED"
    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.

    Look up Existing Queue Resource

    Get an existing Queue resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Queue
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Queue
    func GetQueue(ctx *Context, name string, id IDInput, state *QueueState, opts ...ResourceOption) (*Queue, error)
    public static Queue Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Queue get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingQueue:    type: aws-native:pcs:Queue    get:      id: ${id}
    import {
      to = aws-native_pcs_queue.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state QueueState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    QueueComputeNodeGroupConfiguration, QueueComputeNodeGroupConfigurationArgs

    The compute node group configuration for a queue.

    ComputeNodeGroupId string
    The compute node group ID for the compute node group configuration.
    ComputeNodeGroupId string
    The compute node group ID for the compute node group configuration.
    compute_node_group_id string
    The compute node group ID for the compute node group configuration.
    computeNodeGroupId String
    The compute node group ID for the compute node group configuration.
    computeNodeGroupId string
    The compute node group ID for the compute node group configuration.
    compute_node_group_id str
    The compute node group ID for the compute node group configuration.
    computeNodeGroupId String
    The compute node group ID for the compute node group configuration.

    QueueErrorInfo

    An error that occurred during resource provisioning.

    Code string
    The short-form error code.
    Message string
    The detailed error information.
    Code string
    The short-form error code.
    Message string
    The detailed error information.
    code string
    The short-form error code.
    message string
    The detailed error information.
    code String
    The short-form error code.
    message String
    The detailed error information.
    code string
    The short-form error code.
    message string
    The detailed error information.
    code str
    The short-form error code.
    message str
    The detailed error information.
    code String
    The short-form error code.
    message String
    The detailed error information.

    QueueSlurmCustomSetting, QueueSlurmCustomSettingArgs

    Additional settings that directly map to Slurm settings.

    ParameterName string
    AWS PCS supports configuration of the Slurm parameters for queues:.
    ParameterValue string
    The value for the configured Slurm setting.
    ParameterName string
    AWS PCS supports configuration of the Slurm parameters for queues:.
    ParameterValue string
    The value for the configured Slurm setting.
    parameter_name string
    AWS PCS supports configuration of the Slurm parameters for queues:.
    parameter_value string
    The value for the configured Slurm setting.
    parameterName String
    AWS PCS supports configuration of the Slurm parameters for queues:.
    parameterValue String
    The value for the configured Slurm setting.
    parameterName string
    AWS PCS supports configuration of the Slurm parameters for queues:.
    parameterValue string
    The value for the configured Slurm setting.
    parameter_name str
    AWS PCS supports configuration of the Slurm parameters for queues:.
    parameter_value str
    The value for the configured Slurm setting.
    parameterName String
    AWS PCS supports configuration of the Slurm parameters for queues:.
    parameterValue String
    The value for the configured Slurm setting.

    QueueStatus

    The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.

    NameValue
    CreatingCREATING
    ActiveACTIVE
    UpdatingUPDATING
    DeletingDELETING
    CreateFailedCREATE_FAILED
    DeleteFailedDELETE_FAILED
    UpdateFailedUPDATE_FAILED
    NameValue
    QueueStatusCreatingCREATING
    QueueStatusActiveACTIVE
    QueueStatusUpdatingUPDATING
    QueueStatusDeletingDELETING
    QueueStatusCreateFailedCREATE_FAILED
    QueueStatusDeleteFailedDELETE_FAILED
    QueueStatusUpdateFailedUPDATE_FAILED
    Value
    CREATING
    ACTIVE
    UPDATING
    DELETING
    CREATE_FAILED
    DELETE_FAILED
    UPDATE_FAILED
    NameValue
    CreatingCREATING
    ActiveACTIVE
    UpdatingUPDATING
    DeletingDELETING
    CreateFailedCREATE_FAILED
    DeleteFailedDELETE_FAILED
    UpdateFailedUPDATE_FAILED
    NameValue
    CreatingCREATING
    ActiveACTIVE
    UpdatingUPDATING
    DeletingDELETING
    CreateFailedCREATE_FAILED
    DeleteFailedDELETE_FAILED
    UpdateFailedUPDATE_FAILED
    NameValue
    CREATINGCREATING
    ACTIVEACTIVE
    UPDATINGUPDATING
    DELETINGDELETING
    CREATE_FAILEDCREATE_FAILED
    DELETE_FAILEDDELETE_FAILED
    UPDATE_FAILEDUPDATE_FAILED
    Value
    CREATING
    ACTIVE
    UPDATING
    DELETING
    CREATE_FAILED
    DELETE_FAILED
    UPDATE_FAILED

    SlurmConfigurationProperties, SlurmConfigurationPropertiesArgs

    The Slurm configuration for the queue.

    SlurmCustomSettings List<Pulumi.AwsNative.Pcs.Inputs.QueueSlurmCustomSetting>
    Custom Slurm parameters that directly map to Slurm configuration settings.
    SlurmCustomSettings []QueueSlurmCustomSetting
    Custom Slurm parameters that directly map to Slurm configuration settings.
    slurm_custom_settings list(object)
    Custom Slurm parameters that directly map to Slurm configuration settings.
    slurmCustomSettings List<QueueSlurmCustomSetting>
    Custom Slurm parameters that directly map to Slurm configuration settings.
    slurmCustomSettings QueueSlurmCustomSetting[]
    Custom Slurm parameters that directly map to Slurm configuration settings.
    slurm_custom_settings Sequence[QueueSlurmCustomSetting]
    Custom Slurm parameters that directly map to Slurm configuration settings.
    slurmCustomSettings List<Property Map>
    Custom Slurm parameters that directly map to Slurm configuration settings.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial