interface ClusterAccountingDatabaseProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnCluster.ClusterAccountingDatabaseProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnCluster_ClusterAccountingDatabaseProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnCluster.ClusterAccountingDatabaseProperty |
Python | aws_cdk.aws_sagemaker.CfnCluster.ClusterAccountingDatabaseProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnCluster » ClusterAccountingDatabaseProperty |
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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterAccountingDatabaseProperty: sagemaker.CfnCluster.ClusterAccountingDatabaseProperty = {
endpoint: 'endpoint',
secretArn: 'secretArn',
// the properties below are optional
name: 'name',
port: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| endpoint | string | Hostname or endpoint of the accounting database, such as an RDS endpoint. |
| secret | string | ARN of the Secrets Manager secret holding the database credentials. |
| name? | string | Name of the accounting database schema. |
| port? | number | TCP port of the accounting database. |
endpoint
Type:
string
Hostname or endpoint of the accounting database, such as an RDS endpoint.
secretArn
Type:
string
ARN of the Secrets Manager secret holding the database credentials.
name?
Type:
string
(optional, default: "slurm_acct_db")
Name of the accounting database schema.
Defaults to slurm_acct_db when omitted.
port?
Type:
number
(optional, default: 3306)
TCP port of the accounting database.
Defaults to 3306 when omitted.

.NET
Go
Java
Python
TypeScript