Class: AWSCDK::Verifiedpermissions::CfnPolicyStore::KMSEncryptionSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Verifiedpermissions::CfnPolicyStore::KMSEncryptionSettingsProperty
- Defined in:
- verifiedpermissions/cfn_policy_store.rb
Overview
Instance Attribute Summary collapse
- #encryption_context ⇒ AWSCDK::IResolvable, ... readonly
- #key ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(key:, encryption_context: nil) ⇒ KMSEncryptionSettingsProperty
constructor
A new instance of KMSEncryptionSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(key:, encryption_context: nil) ⇒ KMSEncryptionSettingsProperty
Returns a new instance of KMSEncryptionSettingsProperty.
737 738 739 740 741 742 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 737 def initialize(key:, encryption_context: nil) @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @encryption_context = encryption_context Jsii::Type.check_type(@encryption_context, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "encryptionContext") unless @encryption_context.nil? end |
Instance Attribute Details
#encryption_context ⇒ AWSCDK::IResolvable, ... (readonly)
749 750 751 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 749 def encryption_context @encryption_context end |
#key ⇒ String (readonly)
746 747 748 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 746 def key @key end |
Class Method Details
.jsii_properties ⇒ Object
751 752 753 754 755 756 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 751 def self.jsii_properties { :key => "key", :encryption_context => "encryptionContext", } end |
Instance Method Details
#to_jsii ⇒ Object
758 759 760 761 762 763 764 765 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 758 def to_jsii result = {} result.merge!({ "key" => @key, "encryptionContext" => @encryption_context, }) result.compact end |