Class: AWSCDK::KinesisAnalyticsv2::CfnApplication::ApplicationEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplication::ApplicationEncryptionConfigurationProperty
- Defined in:
- kinesis_analyticsv2/cfn_application.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.
788 789 790 791 792 793 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 788 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.
804 805 806 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 804 def key_id @key_id end |
#key_type ⇒ String (readonly)
Specifies the type of key used for encryption at rest.
799 800 801 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 799 def key_type @key_type end |
Class Method Details
.jsii_properties ⇒ Object
806 807 808 809 810 811 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 806 def self.jsii_properties { :key_type => "keyType", :key_id => "keyId", } end |
Instance Method Details
#to_jsii ⇒ Object
813 814 815 816 817 818 819 820 |
# File 'kinesis_analyticsv2/cfn_application.rb', line 813 def to_jsii result = {} result.merge!({ "keyType" => @key_type, "keyId" => @key_id, }) result.compact end |