Interface CfnQueueProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnQueueProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:10.206Z")
@Stability(Stable)
public interface CfnQueueProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnQueue.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pcs.*;
CfnQueueProps cfnQueueProps = CfnQueueProps.builder()
.clusterId("clusterId")
// the properties below are optional
.computeNodeGroupConfigurations(List.of(ComputeNodeGroupConfigurationProperty.builder()
.computeNodeGroupId("computeNodeGroupId")
.build()))
.name("name")
.slurmConfiguration(SlurmConfigurationProperty.builder()
.slurmCustomSettings(List.of(SlurmCustomSettingProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnQueuePropsstatic final classAn implementation forCfnQueueProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnQueueProps.Builderbuilder()The ID of the cluster of the queue.default ObjectThe list of compute node group configurations associated with the queue.default StringgetName()The name that identifies the queue.default ObjectAdditional options related to the Slurm scheduler.getTags()1 or more tags added to the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterId
The ID of the cluster of the queue.- See Also:
-
getComputeNodeGroupConfigurations
The list of compute node group configurations associated with the queue.Queues assign jobs to associated compute node groups.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnQueue.ComputeNodeGroupConfigurationProperty>- See Also:
-
getName
The name that identifies the queue.- See Also:
-
getSlurmConfiguration
Additional options related to the Slurm scheduler.Returns union: either
IResolvableorCfnQueue.SlurmConfigurationProperty- See Also:
-
getTags
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 Also:
-
builder
- Returns:
- a
CfnQueueProps.BuilderofCfnQueueProps
-