Interface CfnCluster.ClusterSlurmConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterSlurmConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ClusterSlurmConfigProperty
extends software.amazon.jsii.JsiiSerializable
Slurm configuration for the instance group.
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.sagemaker.*;
ClusterSlurmConfigProperty clusterSlurmConfigProperty = ClusterSlurmConfigProperty.builder()
.nodeType("nodeType")
// the properties below are optional
.partitionNames(List.of("partitionNames"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ClusterSlurmConfigPropertystatic final classAn implementation forCfnCluster.ClusterSlurmConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The type of Slurm node for this instance group.The Slurm partitions that this instance group belongs to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNodeType
The type of Slurm node for this instance group.- See Also:
-
getPartitionNames
The Slurm partitions that this instance group belongs to.Maximum of 1 partition.
- See Also:
-
builder
-