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

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

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

Overview

Note:

When passing CreateDatabaseRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#database_nameString

The name of the Timestream database.

Returns:

  • (String)

    The name of the Timestream database.

#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 AWS managed KMS keys for more info.

Returns:

  • (String)

    The KMS key for the database.

#tagsArray<Types::Tag>

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

Returns:

  • (Array<Types::Tag>)

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