Interface CfnCluster.ClusterAccountingDatabaseProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ClusterAccountingDatabaseProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.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.services.sagemaker.*;
ClusterAccountingDatabaseProperty clusterAccountingDatabaseProperty = ClusterAccountingDatabaseProperty.builder()
.endpoint("endpoint")
.secretArn("secretArn")
// the properties below are optional
.name("name")
.port(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ClusterAccountingDatabasePropertystatic final classAn implementation forCfnCluster.ClusterAccountingDatabaseProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Hostname 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.ARN 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:
-
getSecretArn
ARN of the Secrets Manager secret holding the database credentials.- 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:
-
builder
-