Interface CfnClusterPropsMixin.SlurmConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.SlurmConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.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.cfnpropertymixins.services.pcs.*;
SlurmConfigurationProperty slurmConfigurationProperty = SlurmConfigurationProperty.builder()
.accounting(AccountingProperty.builder()
.defaultPurgeTimeInDays(123)
.mode("mode")
.build())
.authKey(AuthKeyProperty.builder()
.secretArn("secretArn")
.secretVersion("secretVersion")
.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()))
.slurmRest(SlurmRestProperty.builder()
.mode("mode")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsMixin.SlurmConfigurationPropertystatic final classAn implementation forCfnClusterPropsMixin.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 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 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
IResolvableorCfnClusterPropsMixin.AccountingProperty- See Also:
-
getAuthKey
The shared Slurm key for authentication, also known as the cluster secret .Returns union: either
IResolvableorCfnClusterPropsMixin.AuthKeyProperty- See Also:
-
getJwtAuth
The JWT authentication configuration for Slurm REST API access.Returns union: either
IResolvableorCfnClusterPropsMixin.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: '<'eitherIResolvableorCfnClusterPropsMixin.SlurmCustomSettingProperty>- See Also:
-
getSlurmRest
The Slurm REST API configuration for the cluster.Returns union: either
IResolvableorCfnClusterPropsMixin.SlurmRestProperty- See Also:
-
builder
-