Interface CfnCluster.SlurmConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.SlurmConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.SlurmConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.pcs.*;
SlurmConfigurationProperty slurmConfigurationProperty = SlurmConfigurationProperty.builder()
.authKey(AuthKeyProperty.builder()
.secretArn("secretArn")
.secretVersion("secretVersion")
.build())
.scaleDownIdleTimeInSeconds(123)
.slurmCustomSettings(List.of(SlurmCustomSettingProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.SlurmConfigurationPropertystatic final classAn implementation forCfnCluster.SlurmConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthKey
The shared Slurm key for authentication, also known as the cluster secret.- See Also:
-
getScaleDownIdleTimeInSeconds
The time before an idle node is scaled down.- See Also:
-
getSlurmCustomSettings
Additional Slurm-specific configuration that directly maps to Slurm settings.- See Also:
-
builder
-