Skip to content
v2.274.0

SlurmRestProperty Struct ​

The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.

It's a property of the ClusterSlurmConfiguration object.

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 slurmRestProperty: pcs.CfnCluster.SlurmRestProperty = {
  mode: 'mode',
};

Properties ​

modestringmodestrmodeStringModestringMode*string= "NONE"required#
The default value for `mode` is `NONE` .

A value of STANDARD means the Slurm REST API is enabled.