interface SlurmConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_pcs.CfnCluster.SlurmConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnCluster_SlurmConfigurationProperty |
Java | software.amazon.awscdk.services.pcs.CfnCluster.SlurmConfigurationProperty |
Python | aws_cdk.aws_pcs.CfnCluster.SlurmConfigurationProperty |
TypeScript | aws-cdk-lib » aws_pcs » CfnCluster » 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.CfnCluster.SlurmConfigurationProperty = {
accounting: {
mode: 'mode',
// the properties below are optional
defaultPurgeTimeInDays: 123,
},
authKey: {
secretArn: 'secretArn',
secretVersion: 'secretVersion',
},
scaleDownIdleTimeInSeconds: 123,
slurmCustomSettings: [{
parameterName: 'parameterName',
parameterValue: 'parameterValue',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| accounting? | IResolvable | Accounting | The accounting configuration includes configurable settings for Slurm accounting. |
| auth | IResolvable | Auth | The shared Slurm key for authentication, also known as the cluster secret . |
| scale | number | The time (in seconds) before an idle node is scaled down. |
| slurm | IResolvable | (IResolvable | Slurm)[] | Additional Slurm-specific configuration that directly maps to Slurm settings. |
accounting?
Type:
IResolvable | Accounting
(optional)
The accounting configuration includes configurable settings for Slurm accounting.
authKey?
Type:
IResolvable | Auth
(optional)
The shared Slurm key for authentication, also known as the cluster secret .
scaleDownIdleTimeInSeconds?
Type:
number
(optional)
The time (in seconds) before an idle node is scaled down.
Default: 600
slurmCustomSettings?
Type:
IResolvable | (IResolvable | Slurm)[]
(optional)
Additional Slurm-specific configuration that directly maps to Slurm settings.

.NET
Go
Java
Python
TypeScript