# SlurmConfigurationProperty

Additional options related to the Slurm scheduler.

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## 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

- `gresCustomSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: 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.

- `scaleDownIdleTimeInSeconds`: number — The time before an idle node is scaled down.

- `slurmCustomSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnComputeNodeGroup.SlurmCustomSettingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_pcs.CfnComputeNodeGroup.SlurmCustomSettingProperty.html)[] — Additional Slurm-specific configuration that directly maps to Slurm settings.
