You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::TimestreamWrite::Types::UpdateDatabaseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamWrite::Types::UpdateDatabaseRequest
- Defined in:
- (unknown)
Overview
When passing UpdateDatabaseRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
database_name: "ResourceName", # required
kms_key_id: "StringValue2048", # required
}
Instance Attribute Summary collapse
-
#database_name ⇒ String
The name of the database.
-
#kms_key_id ⇒ String
The identifier of the new KMS key (
KmsKeyId) to be used to encrypt the data stored in the database.
Instance Attribute Details
#database_name ⇒ String
The name of the database.
#kms_key_id ⇒ String
The identifier of the new KMS key (KmsKeyId) to be used to encrypt the
data stored in the database. If the KmsKeyId currently registered with
the database is the same as the KmsKeyId in the request, there will
not be any update.
You can specify the KmsKeyId using any of the following:
Key ID:
1234abcd-12ab-34cd-56ef-1234567890abKey ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abAlias name:
alias/ExampleAliasAlias ARN:
arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias