# CfnQueueProps

Properties for defining a `CfnQueue`.

Extends: CfnQueueProps
Used as props by: CfnQueue

- Source: Generated code
- Type last changed: v2.220.0 · 14 Oct 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const cfnQueueProps: pcs.CfnQueueProps = {
  clusterId: 'clusterId',

  // the properties below are optional
  computeNodeGroupConfigurations: [{
    computeNodeGroupId: 'computeNodeGroupId',
  }],
  name: 'name',
  slurmConfiguration: {
    slurmCustomSettings: [{
      parameterName: 'parameterName',
      parameterValue: 'parameterValue',
    }],
  },
  tags: {
    tagsKey: 'tags',
  },
};
```

## Properties

- `clusterId`: string (required) — The ID of the cluster of the queue.

- `computeNodeGroupConfigurations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.ComputeNodeGroupConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_pcs.CfnQueue.ComputeNodeGroupConfigurationProperty.html)[] — 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`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnQueue.SlurmConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_pcs.CfnQueue.SlurmConfigurationProperty.html) — Additional options related to the Slurm scheduler.

- `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.
