Skip to content
v2.275.0

ClusterSlurmConfigProperty Struct ​

Slurm configuration for the instance group.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterSlurmConfigProperty: sagemaker.CfnCluster.ClusterSlurmConfigProperty = {
  nodeType: 'nodeType',

  // the properties below are optional
  partitionNames: ['partitionNames'],
};

Properties ​

nodeTypestringnode_typestrnodeTypeStringNodeTypestringNodeType*stringrequired#
The type of Slurm node for this instance group.
partitionNamesoptionalstring[]partition_namesoptionaltyping.List[str]partitionNamesoptionalList<String>PartitionNamesoptionalstring[]PartitionNamesoptional*[]*string#
The Slurm partitions that this instance group belongs to.

Maximum of 1 partition.