interface SlurmRestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.PCS.CfnCluster.SlurmRestProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspcs#CfnCluster_SlurmRestProperty |
Java | software.amazon.awscdk.services.pcs.CfnCluster.SlurmRestProperty |
Python | aws_cdk.aws_pcs.CfnCluster.SlurmRestProperty |
TypeScript | aws-cdk-lib » aws_pcs » CfnCluster » SlurmRestProperty |
The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.
It's a property of the ClusterSlurmConfiguration object.
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 slurmRestProperty: pcs.CfnCluster.SlurmRestProperty = {
mode: 'mode',
};
Properties
| Name | Type | Description |
|---|---|---|
| mode | string | The default value for mode is STANDARD . |
mode
Type:
string
The default value for mode is STANDARD .
A value of STANDARD means the Slurm REST API is enabled.

.NET
Go
Java
Python
TypeScript