Skip to content
v2.274.0

CfnQueueProps Struct ​

Properties for defining a CfnQueue.

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 ​

clusterIdstringcluster_idstrclusterIdStringClusterIdstringClusterId*stringrequired#
The ID of the cluster of the queue.
computeNodeGroupConfigurationsIResolvable | IResolvable | CfnQueue.ComputeNodeGroupConfigurationProperty[]compute_node_group_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ComputeNodeGroupConfigurationProperty]]]computeNodeGroupConfigurationsIResolvableComputeNodeGroupConfigurationsIResolvableComputeNodeGroupConfigurationsinterface{}#
The list of compute node group configurations associated with the queue.

Queues assign jobs to associated compute node groups.

namestringnamestrnameStringNamestringName*string#
The name that identifies the queue.
slurmConfigurationIResolvable | CfnQueue.SlurmConfigurationPropertyslurm_configurationtyping.Union[IResolvable, SlurmConfigurationProperty]slurmConfigurationIResolvableSlurmConfigurationIResolvableSlurmConfigurationinterface{}#
Additional options related to the Slurm scheduler.
tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>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.