Class CfnQueueMixinProps
Properties for CfnQueuePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.PCS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnQueueMixinProps : ICfnQueueMixinProps
Syntax (vb)
Public Class CfnQueueMixinProps Implements ICfnQueueMixinProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.PCS;
var cfnQueueMixinProps = new CfnQueueMixinProps {
ClusterId = "clusterId",
ComputeNodeGroupConfigurations = new [] { new ComputeNodeGroupConfigurationProperty {
ComputeNodeGroupId = "computeNodeGroupId"
} },
Name = "name",
SlurmConfiguration = new SlurmConfigurationProperty {
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Constructors
| CfnQueueMixinProps() | Properties for CfnQueuePropsMixin. |
Properties
| ClusterId | The ID of the cluster of the queue. |
| ComputeNodeGroupConfigurations | The list of compute node group configurations associated with the queue. |
| Name | The name that identifies the queue. |
| SlurmConfiguration | Additional options related to the Slurm scheduler. |
| Tags | 1 or more tags added to the resource. |
Constructors
CfnQueueMixinProps()
Properties for CfnQueuePropsMixin.
public CfnQueueMixinProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.PCS;
var cfnQueueMixinProps = new CfnQueueMixinProps {
ClusterId = "clusterId",
ComputeNodeGroupConfigurations = new [] { new ComputeNodeGroupConfigurationProperty {
ComputeNodeGroupId = "computeNodeGroupId"
} },
Name = "name",
SlurmConfiguration = new SlurmConfigurationProperty {
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Properties
ClusterId
The ID of the cluster of the queue.
public string? ClusterId { get; set; }
Property Value
Remarks
ComputeNodeGroupConfigurations
The list of compute node group configurations associated with the queue.
public object? ComputeNodeGroupConfigurations { get; set; }
Property Value
Remarks
Queues assign jobs to associated compute node groups.
Type union: either IResolvable or (either IResolvable or CfnQueuePropsMixin.IComputeNodeGroupConfigurationProperty)[]
Name
The name that identifies the queue.
public string? Name { get; set; }
Property Value
Remarks
SlurmConfiguration
Additional options related to the Slurm scheduler.
public object? SlurmConfiguration { get; set; }
Property Value
Remarks
Tags
1 or more tags added to the resource.
public IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.