Class: Aws::TimestreamWrite::Types::CreateDatabaseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamWrite::Types::CreateDatabaseRequest
- 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
-
#database_name ⇒ String
The name of the Timestream database.
-
#kms_key_id ⇒ String
The KMS key for the database.
-
#tags ⇒ Array<Types::Tag>
A list of key-value pairs to label the table.
Instance Attribute Details
#database_name ⇒ String
The name of the Timestream database.
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_id ⇒ String
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
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 |
#tags ⇒ Array<Types::Tag>
A list of key-value pairs to label the table.
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 |