Skip to content

ClusterAccountingDatabase

Source code in docs_src/capo_sagemaker/types/cluster_accounting_database.py
class ClusterAccountingDatabase(TypedDict, closed=True):
    endpoint: "capo_sagemaker.types.cluster_accounting_database_endpoint.ClusterAccountingDatabaseEndpoint"
    """<p>The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.</p>"""
    port: NotRequired[
        "capo_sagemaker.types.cluster_accounting_database_port.ClusterAccountingDatabasePort"
    ]
    """<p>The port that the accounting database listens on. The default is <code>3306</code>.</p>"""
    name: NotRequired[
        "capo_sagemaker.types.cluster_accounting_database_name.ClusterAccountingDatabaseName"
    ]
    """<p>The name of the database schema that stores the Slurm accounting data. The default is <code>slurm_acct_db_</code> followed by the cluster ID from the cluster ARN, for example <code>slurm_acct_db_a1b2c3d4e5f6</code>.</p>"""
    secret_arn: "capo_sagemaker.types.cluster_accounting_database_secret_arn.ClusterAccountingDatabaseSecretArn"
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.</p>"""

endpoint instance-attribute

The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.

name instance-attribute

name: NotRequired[ClusterAccountingDatabaseName]

The name of the database schema that stores the Slurm accounting data. The default is slurm_acct_db_ followed by the cluster ID from the cluster ARN, for example slurm_acct_db_a1b2c3d4e5f6.

port instance-attribute

port: NotRequired[ClusterAccountingDatabasePort]

The port that the accounting database listens on. The default is 3306.

secret_arn instance-attribute

The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.