Class: AWSCDK::Glue::CfnDataCatalogEncryptionSettingsProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_data_catalog_encryption_settings_props.rb

Overview

Properties for defining a CfnDataCatalogEncryptionSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalog_id:, data_catalog_encryption_settings:) ⇒ CfnDataCatalogEncryptionSettingsProps

Returns a new instance of CfnDataCatalogEncryptionSettingsProps.

Parameters:



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_idString (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_settingsAWSCDK::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_propertiesObject



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_jsiiObject



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