CfnQueueProps

class aws_cdk.aws_pcs.CfnQueueProps(*, cluster_id, compute_node_group_configurations=None, name=None, tags=None)

Bases: object

Properties for defining a CfnQueue.

Parameters:
  • cluster_id (str) – The ID of the cluster of the queue.

  • compute_node_group_configurations (Union[IResolvable, Sequence[Union[IResolvable, ComputeNodeGroupConfigurationProperty, Dict[str, Any]]], None]) – The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.

  • name (Optional[str]) – The name that identifies the queue.

  • tags (Optional[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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pcs as pcs

cfn_queue_props = pcs.CfnQueueProps(
    cluster_id="clusterId",

    # the properties below are optional
    compute_node_group_configurations=[pcs.CfnQueue.ComputeNodeGroupConfigurationProperty(
        compute_node_group_id="computeNodeGroupId"
    )],
    name="name",
    tags={
        "tags_key": "tags"
    }
)

Attributes

cluster_id

The ID of the cluster of the queue.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#cfn-pcs-queue-clusterid

compute_node_group_configurations

The list of compute node group configurations associated with the queue.

Queues assign jobs to associated compute node groups.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#cfn-pcs-queue-computenodegroupconfigurations

name

The name that identifies the queue.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#cfn-pcs-queue-name

tags

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#cfn-pcs-queue-tags