Class: AWSCDK::DynamoDB::CfnGlobalTable::ReplicaSSESpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DynamoDB::CfnGlobalTable::ReplicaSSESpecificationProperty
- Defined in:
- dynamo_db/cfn_global_table.rb
Overview
Allows you to specify a KMS key identifier to be used for server-side encryption.
The key can be specified via ARN, key ID, or alias. The key must be created in the same region as the replica.
Instance Attribute Summary collapse
-
#kms_master_key_id ⇒ String
readonly
The AWS key that should be used for the AWS encryption.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kms_master_key_id:) ⇒ ReplicaSSESpecificationProperty
constructor
A new instance of ReplicaSSESpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kms_master_key_id:) ⇒ ReplicaSSESpecificationProperty
Returns a new instance of ReplicaSSESpecificationProperty.
1562 1563 1564 1565 |
# File 'dynamo_db/cfn_global_table.rb', line 1562 def initialize(kms_master_key_id:) @kms_master_key_id = kms_master_key_id Jsii::Type.check_type(@kms_master_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsMasterKeyId") end |
Instance Attribute Details
#kms_master_key_id ⇒ String (readonly)
The AWS key that should be used for the AWS encryption.
To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB key alias/aws/dynamodb .
1573 1574 1575 |
# File 'dynamo_db/cfn_global_table.rb', line 1573 def kms_master_key_id @kms_master_key_id end |
Class Method Details
.jsii_properties ⇒ Object
1575 1576 1577 1578 1579 |
# File 'dynamo_db/cfn_global_table.rb', line 1575 def self.jsii_properties { :kms_master_key_id => "kmsMasterKeyId", } end |
Instance Method Details
#to_jsii ⇒ Object
1581 1582 1583 1584 1585 1586 1587 |
# File 'dynamo_db/cfn_global_table.rb', line 1581 def to_jsii result = {} result.merge!({ "kmsMasterKeyId" => @kms_master_key_id, }) result.compact end |