Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::ApplicationEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationV2::ApplicationEncryptionConfigurationProperty
- Defined in:
- kinesis_analytics/cfn_application_v2.rb
Overview
Specifies the configuration to manage encryption at rest.
Instance Attribute Summary collapse
-
#key_id ⇒ String?
readonly
The key ARN, key ID, alias ARN, or alias name of the KMS key used for encryption at rest.
-
#key_type ⇒ String
readonly
Specifies the type of key used for encryption at rest.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key_type:, key_id: nil) ⇒ ApplicationEncryptionConfigurationProperty
constructor
A new instance of ApplicationEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key_type:, key_id: nil) ⇒ ApplicationEncryptionConfigurationProperty
Returns a new instance of ApplicationEncryptionConfigurationProperty.
789 790 791 792 793 794 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 789 def initialize(key_type:, key_id: nil) @key_type = key_type Jsii::Type.check_type(@key_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyType") @key_id = key_id Jsii::Type.check_type(@key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "keyId") unless @key_id.nil? end |
Instance Attribute Details
#key_id ⇒ String? (readonly)
The key ARN, key ID, alias ARN, or alias name of the KMS key used for encryption at rest.
805 806 807 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 805 def key_id @key_id end |
#key_type ⇒ String (readonly)
Specifies the type of key used for encryption at rest.
800 801 802 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 800 def key_type @key_type end |
Class Method Details
.jsii_properties ⇒ Object
807 808 809 810 811 812 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 807 def self.jsii_properties { :key_type => "keyType", :key_id => "keyId", } end |
Instance Method Details
#to_jsii ⇒ Object
814 815 816 817 818 819 820 821 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 814 def to_jsii result = {} result.merge!({ "keyType" => @key_type, "keyId" => @key_id, }) result.compact end |