Class: Aws::SageMaker::Types::ClusterAccountingDatabase

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

The external MySQL-compatible database that the Slurm accounting daemon (slurmdbd) connects to for a SageMaker HyperPod cluster. You provide the database credentials in an Amazon Web Services Secrets Manager secret instead of in the request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint ⇒ String

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.

Returns:

  • (String)


6294
6295
6296
6297
6298
6299
6300
6301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6294

class ClusterAccountingDatabase < Struct.new(
  :endpoint,
  :port,
  :name,
  :secret_arn)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

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.

Returns:

  • (String)


6294
6295
6296
6297
6298
6299
6300
6301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6294

class ClusterAccountingDatabase < Struct.new(
  :endpoint,
  :port,
  :name,
  :secret_arn)
  SENSITIVE = []
  include Aws::Structure
end

#port ⇒ Integer

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

Returns:

  • (Integer)


6294
6295
6296
6297
6298
6299
6300
6301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6294

class ClusterAccountingDatabase < Struct.new(
  :endpoint,
  :port,
  :name,
  :secret_arn)
  SENSITIVE = []
  include Aws::Structure
end

#secret_arn ⇒ String

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.

Returns:

  • (String)


6294
6295
6296
6297
6298
6299
6300
6301
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 6294

class ClusterAccountingDatabase < Struct.new(
  :endpoint,
  :port,
  :name,
  :secret_arn)
  SENSITIVE = []
  include Aws::Structure
end