interface SlurmConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.PCS.CfnComputeNodeGroup.SlurmConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnComputeNodeGroup_SlurmConfigurationProperty |
Java | software.amazon.awscdk.services.pcs.CfnComputeNodeGroup.SlurmConfigurationProperty |
Python | aws_cdk.aws_pcs.CfnComputeNodeGroup.SlurmConfigurationProperty |
TypeScript | aws-cdk-lib » aws_pcs » CfnComputeNodeGroup » SlurmConfigurationProperty |
Additional options related to the Slurm scheduler.
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 slurmConfigurationProperty: pcs.CfnComputeNodeGroup.SlurmConfigurationProperty = {
gresCustomSettings: [{
gresCustomSettingsKey: 'gresCustomSettings',
}],
scaleDownIdleTimeInSeconds: 123,
slurmCustomSettings: [{
parameterName: 'parameterName',
parameterValue: 'parameterValue',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| gres | IResolvable | (IResolvable | { [string]: string })[] | Additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values describing one gres.conf record (for example a GPU topology, MIG, MPS, or custom GRES entry). AWS PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type. |
| scale | number | The time before an idle node is scaled down. |
| slurm | IResolvable | (IResolvable | Slurm)[] | Additional Slurm-specific configuration that directly maps to Slurm settings. |
gresCustomSettings?
Type:
IResolvable | (IResolvable | { [string]: string })[]
(optional)
Additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values describing one gres.conf record (for example a GPU topology, MIG, MPS, or custom GRES entry). AWS PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type.
scaleDownIdleTimeInSeconds?
Type:
number
(optional)
The time before an idle node is scaled down.
slurmCustomSettings?
Type:
IResolvable | (IResolvable | Slurm)[]
(optional)
Additional Slurm-specific configuration that directly maps to Slurm settings.

.NET
Go
Java
Python
TypeScript