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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-timestreamwrite/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name that uniquely identifies this database.

Returns:

  • (String)


202
203
204
205
206
207
208
209
210
211
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 202

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_timeTime

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

Returns:

  • (Time)


202
203
204
205
206
207
208
209
210
211
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 202

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#database_nameString

The name of the Timestream database.

Returns:

  • (String)


202
203
204
205
206
207
208
209
210
211
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 202

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

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

Returns:

  • (String)


202
203
204
205
206
207
208
209
210
211
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 202

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_updated_timeTime

The last time that this database was updated.

Returns:

  • (Time)


202
203
204
205
206
207
208
209
210
211
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 202

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#table_countInteger

The total number of tables found within a Timestream database.

Returns:

  • (Integer)


202
203
204
205
206
207
208
209
210
211
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 202

class Database < Struct.new(
  :arn,
  :database_name,
  :table_count,
  :kms_key_id,
  :creation_time,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end