Class: Aws::TimestreamWrite::Types::UpdateDatabaseRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::TimestreamWrite::Types::UpdateDatabaseRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-timestreamwrite/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
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.
1615 1616 1617 1618 1619 1620 |
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1615 class UpdateDatabaseRequest < Struct.new( :database_name, :kms_key_id) SENSITIVE = [] include Aws::Structure end |
#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-1234567890ab -
Key ARN:
arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab -
Alias name:
alias/ExampleAlias -
Alias ARN:
arn:aws:kms:us-east-1:111122223333:alias/ExampleAlias
1615 1616 1617 1618 1619 1620 |
# File 'lib/aws-sdk-timestreamwrite/types.rb', line 1615 class UpdateDatabaseRequest < Struct.new( :database_name, :kms_key_id) SENSITIVE = [] include Aws::Structure end |