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

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

Overview

Note:

When making an API call, you may pass CreateDatabaseRequest data as a hash:

{
  database_name: "ResourceCreateAPIName", # required
  kms_key_id: "StringValue2048",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#database_nameString

The name of the Timestream database.

Returns:

  • (String)


75
76
77
78
79
80
81
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 75

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. Refer to [Amazon Web Services managed KMS keys] for more info.

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

Returns:

  • (String)


75
76
77
78
79
80
81
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 75

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:



75
76
77
78
79
80
81
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 75

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