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()
.accounting(AccountingProperty.builder()
.mode("mode")
// the properties below are optional
.defaultPurgeTimeInDays(123)
.build())
.authKey(AuthKeyProperty.builder()
.secretArn("secretArn")
.secretVersion("secretVersion")
.build())
.cgroupCustomSettings(List.of(CgroupCustomSettingProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.jwtAuth(JwtAuthProperty.builder()
.jwtKey(JwtKeyProperty.builder()
.secretArn("secretArn")
.secretVersion("secretVersion")
.build())
.build())
.scaleDownIdleTimeInSeconds(123)
.slurmCustomSettings(List.of(SlurmCustomSettingProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.slurmdbdCustomSettings(List.of(SlurmdbdCustomSettingProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.slurmRest(SlurmRestProperty.builder()
.mode("mode")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.SlurmConfigurationPropertystatic final classAn implementation forCfnCluster.SlurmConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe accounting configuration includes configurable settings for Slurm accounting.default ObjectThe shared Slurm key for authentication, also known as the cluster secret .default ObjectAdditional cgroup-specific configuration that directly maps to cgroup.conf settings.default ObjectThe JWT authentication configuration for Slurm REST API access.default NumberThe time (in seconds) before an idle node is scaled down.default ObjectAdditional Slurm-specific configuration that directly maps to Slurm settings.default ObjectAdditional slurmdbd-specific configuration that directly maps to slurmdbd.conf settings.default ObjectThe Slurm REST API configuration for the cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccounting
The accounting configuration includes configurable settings for Slurm accounting.Returns union: either
IResolvableorCfnCluster.AccountingProperty- See Also:
-
getAuthKey
The shared Slurm key for authentication, also known as the cluster secret .Returns union: either
IResolvableorCfnCluster.AuthKeyProperty- See Also:
-
getCgroupCustomSettings
Additional cgroup-specific configuration that directly maps to cgroup.conf settings.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.CgroupCustomSettingProperty>- See Also:
-
getJwtAuth
The JWT authentication configuration for Slurm REST API access.Returns union: either
IResolvableorCfnCluster.JwtAuthProperty- See Also:
-
getScaleDownIdleTimeInSeconds
The time (in seconds) before an idle node is scaled down.Default:
600- See Also:
-
getSlurmCustomSettings
Additional Slurm-specific configuration that directly maps to Slurm settings.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.SlurmCustomSettingProperty>- See Also:
-
getSlurmdbdCustomSettings
Additional slurmdbd-specific configuration that directly maps to slurmdbd.conf settings.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.SlurmdbdCustomSettingProperty>- See Also:
-
getSlurmRest
The Slurm REST API configuration for the cluster.Returns union: either
IResolvableorCfnCluster.SlurmRestProperty- See Also:
-
builder
-