Class CfnComputeNodeGroup.SlurmConfigurationProperty
Additional options related to the Slurm scheduler.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.PCS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnComputeNodeGroup.SlurmConfigurationProperty : CfnComputeNodeGroup.ISlurmConfigurationProperty
Syntax (vb)
Public Class CfnComputeNodeGroup.SlurmConfigurationProperty Implements CfnComputeNodeGroup.ISlurmConfigurationProperty
Remarks
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.AWS.PCS;
var slurmConfigurationProperty = new SlurmConfigurationProperty {
GresCustomSettings = new [] { new Dictionary<string, string> {
{ "gresCustomSettingsKey", "gresCustomSettings" }
} },
ScaleDownIdleTimeInSeconds = 123,
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
};
Synopsis
Constructors
| SlurmConfigurationProperty() | Additional options related to the Slurm scheduler. |
Properties
| GresCustomSettings | 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 | The time before an idle node is scaled down. |
| SlurmCustomSettings | Additional Slurm-specific configuration that directly maps to Slurm settings. |
Constructors
SlurmConfigurationProperty()
Additional options related to the Slurm scheduler.
public SlurmConfigurationProperty()
Remarks
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.AWS.PCS;
var slurmConfigurationProperty = new SlurmConfigurationProperty {
GresCustomSettings = new [] { new Dictionary<string, string> {
{ "gresCustomSettingsKey", "gresCustomSettings" }
} },
ScaleDownIdleTimeInSeconds = 123,
SlurmCustomSettings = new [] { new SlurmCustomSettingProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} }
};
Properties
GresCustomSettings
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.
public object? GresCustomSettings { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or Dictionary<string, string>)[]
ScaleDownIdleTimeInSeconds
The time before an idle node is scaled down.
public double? ScaleDownIdleTimeInSeconds { get; set; }
Property Value
Remarks
SlurmCustomSettings
Additional Slurm-specific configuration that directly maps to Slurm settings.
public object? SlurmCustomSettings { get; set; }