Class: AWSCDK::MWAAServerless::CfnWorkflow::EncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MWAAServerless::CfnWorkflow::EncryptionConfigurationProperty
- Defined in:
- mwaa_serverless/cfn_workflow.rb
Overview
Instance Attribute Summary collapse
- #kms_key_id ⇒ String? readonly
- #type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, kms_key_id: nil) ⇒ EncryptionConfigurationProperty
constructor
A new instance of EncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, kms_key_id: nil) ⇒ EncryptionConfigurationProperty
Returns a new instance of EncryptionConfigurationProperty.
635 636 637 638 639 640 |
# File 'mwaa_serverless/cfn_workflow.rb', line 635 def initialize(type:, kms_key_id: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @kms_key_id = kms_key_id Jsii::Type.check_type(@kms_key_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kmsKeyId") unless @kms_key_id.nil? end |
Instance Attribute Details
#kms_key_id ⇒ String? (readonly)
647 648 649 |
# File 'mwaa_serverless/cfn_workflow.rb', line 647 def kms_key_id @kms_key_id end |
#type ⇒ String (readonly)
644 645 646 |
# File 'mwaa_serverless/cfn_workflow.rb', line 644 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
649 650 651 652 653 654 |
# File 'mwaa_serverless/cfn_workflow.rb', line 649 def self.jsii_properties { :type => "type", :kms_key_id => "kmsKeyId", } end |
Instance Method Details
#to_jsii ⇒ Object
656 657 658 659 660 661 662 663 |
# File 'mwaa_serverless/cfn_workflow.rb', line 656 def to_jsii result = {} result.merge!({ "type" => @type, "kmsKeyId" => @kms_key_id, }) result.compact end |