You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::TimestreamWrite::Types::Database

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A top level container for a table. Databases and tables are the fundamental management concepts in Amazon Timestream. All tables in a database are encrypted with the same KMS key.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name that uniquely identifies this database.

Returns:

  • (String) —

    The Amazon Resource Name that uniquely identifies this database.

#creation_time ⇒ Time

The time when the database was created, calculated from the Unix epoch time.

Returns:

  • (Time) —

    The time when the database was created, calculated from the Unix epoch time.

#database_name ⇒ String

The name of the Timestream database.

Returns:

  • (String) —

    The name of the Timestream database.

#kms_key_id ⇒ String

The identifier of the KMS key used to encrypt the data stored in the database.

Returns:

  • (String) —

    The identifier of the KMS key used to encrypt the data stored in the database.

#last_updated_time ⇒ Time

The last time that this database was updated.

Returns:

  • (Time) —

    The last time that this database was updated.

#table_count ⇒ Integer

The total number of tables found within a Timestream database.

Returns:

  • (Integer) —

    The total number of tables found within a Timestream database.