Class: AWSCDK::Connect::CfnInstanceStorageConfig::EncryptionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnInstanceStorageConfig::EncryptionConfigProperty
- Defined in:
- connect/cfn_instance_storage_config.rb
Overview
The encryption configuration.
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
readonly
The type of encryption.
-
#key_id ⇒ String
readonly
The full ARN of the encryption key.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_type:, key_id:) ⇒ EncryptionConfigProperty
constructor
A new instance of EncryptionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_type:, key_id:) ⇒ EncryptionConfigProperty
Returns a new instance of EncryptionConfigProperty.
583 584 585 586 587 588 |
# File 'connect/cfn_instance_storage_config.rb', line 583 def initialize(encryption_type:, key_id:) @encryption_type = encryption_type Jsii::Type.check_type(@encryption_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionType") @key_id = key_id Jsii::Type.check_type(@key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyId") end |
Instance Attribute Details
#encryption_type ⇒ String (readonly)
The type of encryption.
594 595 596 |
# File 'connect/cfn_instance_storage_config.rb', line 594 def encryption_type @encryption_type end |
#key_id ⇒ String (readonly)
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec of
SYMMETRIC_DEFAULT.
603 604 605 |
# File 'connect/cfn_instance_storage_config.rb', line 603 def key_id @key_id end |
Class Method Details
.jsii_properties ⇒ Object
605 606 607 608 609 610 |
# File 'connect/cfn_instance_storage_config.rb', line 605 def self.jsii_properties { :encryption_type => "encryptionType", :key_id => "keyId", } end |
Instance Method Details
#to_jsii ⇒ Object
612 613 614 615 616 617 618 619 |
# File 'connect/cfn_instance_storage_config.rb', line 612 def to_jsii result = {} result.merge!({ "encryptionType" => @encryption_type, "keyId" => @key_id, }) result.compact end |