Class: AWSCDK::Verifiedpermissions::CfnPolicyStore::EncryptionSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Verifiedpermissions::CfnPolicyStore::EncryptionSettingsProperty
- Defined in:
- verifiedpermissions/cfn_policy_store.rb
Overview
Instance Attribute Summary collapse
- #default ⇒ Object? readonly
- #kms_encryption_settings ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(default: nil, kms_encryption_settings: nil) ⇒ EncryptionSettingsProperty
constructor
A new instance of EncryptionSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(default: nil, kms_encryption_settings: nil) ⇒ EncryptionSettingsProperty
Returns a new instance of EncryptionSettingsProperty.
663 664 665 666 667 668 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 663 def initialize(default: nil, kms_encryption_settings: nil) @default = default Jsii::Type.check_type(@default, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "default") unless @default.nil? @kms_encryption_settings = kms_encryption_settings.is_a?(Hash) ? ::AWSCDK::Verifiedpermissions::CfnPolicyStore::KMSEncryptionSettingsProperty.new(**kms_encryption_settings.transform_keys(&:to_sym)) : kms_encryption_settings Jsii::Type.check_type(@kms_encryption_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c192ZXJpZmllZHBlcm1pc3Npb25zLkNmblBvbGljeVN0b3JlLkttc0VuY3J5cHRpb25TZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "kmsEncryptionSettings") unless @kms_encryption_settings.nil? end |
Instance Attribute Details
#default ⇒ Object? (readonly)
672 673 674 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 672 def default @default end |
#kms_encryption_settings ⇒ AWSCDK::IResolvable, ... (readonly)
675 676 677 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 675 def kms_encryption_settings @kms_encryption_settings end |
Class Method Details
.jsii_properties ⇒ Object
677 678 679 680 681 682 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 677 def self.jsii_properties { :default => "default", :kms_encryption_settings => "kmsEncryptionSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
684 685 686 687 688 689 690 691 |
# File 'verifiedpermissions/cfn_policy_store.rb', line 684 def to_jsii result = {} result.merge!({ "default" => @default, "kmsEncryptionSettings" => @kms_encryption_settings, }) result.compact end |