interface AccountingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_pcs.CfnCluster.AccountingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnCluster_AccountingProperty |
Java | software.amazon.awscdk.services.pcs.CfnCluster.AccountingProperty |
Python | aws_cdk.aws_pcs.CfnCluster.AccountingProperty |
TypeScript | aws-cdk-lib » aws_pcs » CfnCluster » AccountingProperty |
The accounting configuration includes configurable settings for Slurm accounting.
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 accountingProperty: pcs.CfnCluster.AccountingProperty = {
mode: 'mode',
// the properties below are optional
defaultPurgeTimeInDays: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| mode | string | The default value for mode is STANDARD . |
| default | number | The default value for all purge settings for slurmdbd.conf . For more information, see the slurmdbd.conf documentation at SchedMD . |
mode
Type:
string
The default value for mode is STANDARD .
A value of STANDARD means Slurm accounting is enabled.
defaultPurgeTimeInDays?
Type:
number
(optional, default: -1)
The default value for all purge settings for slurmdbd.conf . For more information, see the slurmdbd.conf documentation at SchedMD .
The default value for defaultPurgeTimeInDays is -1 .
A value of -1 means there is no purge time and records persist as long as the cluster exists.
0isn't a valid value.

.NET
Go
Java
Python
TypeScript