SlurmConfigurationProperty Struct
Additional options related to the Slurm scheduler.
Example
ts
// 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
gresCustomSettingsoptionalIResolvable | IResolvable | { [key: string]: string }[]gres_custom_settingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, typing.Mapping[str, str]]]]gresCustomSettingsoptionalIResolvableGresCustomSettingsoptionalIResolvableGresCustomSettingsoptionalinterface{}#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.
scaleDownIdleTimeInSecondsoptionalnumberscale_down_idle_time_in_secondsoptionalint | floatscaleDownIdleTimeInSecondsoptionalNumberScaleDownIdleTimeInSecondsoptionaldoubleScaleDownIdleTimeInSecondsoptional*float64#The time before an idle node is scaled down.
slurmCustomSettingsoptionalIResolvable | IResolvable | CfnComputeNodeGroup.SlurmCustomSettingProperty[]slurm_custom_settingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SlurmCustomSettingProperty]]]slurmCustomSettingsoptionalIResolvableSlurmCustomSettingsoptionalIResolvableSlurmCustomSettingsoptionalinterface{}#Additional Slurm-specific configuration that directly maps to Slurm settings.