Class: Aws::TimestreamWrite::Types::CreateDatabaseRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#database_nameString

The name of the Timestream database.

Returns:

  • (String)


263
264
265
266
267
268
269
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 263

class CreateDatabaseRequest < Struct.new(
  :database_name,
  :kms_key_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see [Amazon Web Services managed keys].

[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk

Returns:

  • (String)


263
264
265
266
267
268
269
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 263

class CreateDatabaseRequest < Struct.new(
  :database_name,
  :kms_key_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of key-value pairs to label the table.

Returns:



263
264
265
266
267
268
269
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 263

class CreateDatabaseRequest < Struct.new(
  :database_name,
  :kms_key_id,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end