Class: AWSCDK::Glue::CfnDataCatalogEncryptionSettingsProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnDataCatalogEncryptionSettingsProps
- Defined in:
- glue/cfn_data_catalog_encryption_settings_props.rb
Overview
Properties for defining a CfnDataCatalogEncryptionSettings.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
readonly
The ID of the Data Catalog in which the settings are created.
-
#data_catalog_encryption_settings ⇒ AWSCDK::IResolvable, AWSCDK::Glue::CfnDataCatalogEncryptionSettings::DataCatalogEncryptionSettingsProperty
readonly
Contains configuration information for maintaining Data Catalog security.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id:, data_catalog_encryption_settings:) ⇒ CfnDataCatalogEncryptionSettingsProps
constructor
A new instance of CfnDataCatalogEncryptionSettingsProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id:, data_catalog_encryption_settings:) ⇒ CfnDataCatalogEncryptionSettingsProps
Returns a new instance of CfnDataCatalogEncryptionSettingsProps.
11 12 13 14 15 16 |
# File 'glue/cfn_data_catalog_encryption_settings_props.rb', line 11 def initialize(catalog_id:, data_catalog_encryption_settings:) @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") @data_catalog_encryption_settings = data_catalog_encryption_settings.is_a?(Hash) ? ::AWSCDK::Glue::CfnDataCatalogEncryptionSettings::DataCatalogEncryptionSettingsProperty.new(**data_catalog_encryption_settings.transform_keys(&:to_sym)) : data_catalog_encryption_settings Jsii::Type.check_type(@data_catalog_encryption_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19nbHVlLkNmbkRhdGFDYXRhbG9nRW5jcnlwdGlvblNldHRpbmdzLkRhdGFDYXRhbG9nRW5jcnlwdGlvblNldHRpbmdzUHJvcGVydHkifV19fQ==")), "dataCatalogEncryptionSettings") end |
Instance Attribute Details
#catalog_id ⇒ String (readonly)
The ID of the Data Catalog in which the settings are created.
22 23 24 |
# File 'glue/cfn_data_catalog_encryption_settings_props.rb', line 22 def catalog_id @catalog_id end |
#data_catalog_encryption_settings ⇒ AWSCDK::IResolvable, AWSCDK::Glue::CfnDataCatalogEncryptionSettings::DataCatalogEncryptionSettingsProperty (readonly)
Contains configuration information for maintaining Data Catalog security.
27 28 29 |
# File 'glue/cfn_data_catalog_encryption_settings_props.rb', line 27 def data_catalog_encryption_settings @data_catalog_encryption_settings end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'glue/cfn_data_catalog_encryption_settings_props.rb', line 29 def self.jsii_properties { :catalog_id => "catalogId", :data_catalog_encryption_settings => "dataCatalogEncryptionSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'glue/cfn_data_catalog_encryption_settings_props.rb', line 36 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "dataCatalogEncryptionSettings" => @data_catalog_encryption_settings, }) result.compact end |