Interface CfnClusterPropsMixin.ClusterAccountingDatabaseProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.ClusterAccountingDatabaseProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.ClusterAccountingDatabaseProperty
extends software.amazon.jsii.JsiiSerializable
External MySQL-compatible accounting database that a Slurm cluster's slurmdbd connects to.
Database credentials are supplied out-of-band through the referenced Secrets Manager secret. Supported only with Continuous node provisioning.
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.sagemaker.*;
ClusterAccountingDatabaseProperty clusterAccountingDatabaseProperty = ClusterAccountingDatabaseProperty.builder()
.endpoint("endpoint")
.name("name")
.port(123)
.secretArn("secretArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnClusterPropsMixin.ClusterAccountingDatabasePropertystatic final classAn implementation forCfnClusterPropsMixin.ClusterAccountingDatabaseProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringHostname or endpoint of the accounting database, such as an RDS endpoint.default StringgetName()Name of the accounting database schema.default NumbergetPort()TCP port of the accounting database.default StringARN of the Secrets Manager secret holding the database credentials.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpoint
Hostname or endpoint of the accounting database, such as an RDS endpoint.- See Also:
-
getName
Name of the accounting database schema.Defaults to slurm_acct_db when omitted.
Default: - "slurm_acct_db"
- See Also:
-
getPort
TCP port of the accounting database.Defaults to 3306 when omitted.
Default: - 3306
- See Also:
-
getSecretArn
ARN of the Secrets Manager secret holding the database credentials.- See Also:
-
builder
-