interface CfnQueueProps
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_pcs.CfnQueueProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnQueueProps |
Java | software.amazon.awscdk.services.pcs.CfnQueueProps |
Python | aws_cdk.aws_pcs.CfnQueueProps |
TypeScript | aws-cdk-lib » aws_pcs » CfnQueueProps |
Properties for defining a CfnQueue
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
Example
// 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',
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
cluster | string | The ID of the cluster of the queue. |
compute | IResolvable | IResolvable | Compute [] | The list of compute node group configurations associated with the queue. |
name? | string | The name that identifies the queue. |
tags? | { [string]: string } | 1 or more tags added to the resource. |
clusterId
Type:
string
The ID of the cluster of the queue.
computeNodeGroupConfigurations?
Type:
IResolvable
|
IResolvable
|
Compute
[]
(optional)
The list of compute node group configurations associated with the queue.
Queues assign jobs to associated compute node groups.
name?
Type:
string
(optional)
The name that identifies the queue.
tags?
Type:
{ [string]: string }
(optional)
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.