Class: AWSCDK::DataZone::CfnDataSource::RecommendationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_data_source.rb

Overview

The recommendation configuration for the data source.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enable_business_name_generation: nil) ⇒ RecommendationConfigurationProperty

Returns a new instance of RecommendationConfigurationProperty.

Parameters:

  • enable_business_name_generation (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.



968
969
970
971
# File 'data_zone/cfn_data_source.rb', line 968

def initialize(enable_business_name_generation: nil)
  @enable_business_name_generation = enable_business_name_generation
  Jsii::Type.check_type(@enable_business_name_generation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enableBusinessNameGeneration") unless @enable_business_name_generation.nil?
end

Instance Attribute Details

#enable_business_name_generationBoolean, ... (readonly)

Specifies whether automatic business name generation is to be enabled or not as part of the recommendation configuration.



977
978
979
# File 'data_zone/cfn_data_source.rb', line 977

def enable_business_name_generation
  @enable_business_name_generation
end

Class Method Details

.jsii_propertiesObject



979
980
981
982
983
# File 'data_zone/cfn_data_source.rb', line 979

def self.jsii_properties
  {
    :enable_business_name_generation => "enableBusinessNameGeneration",
  }
end

Instance Method Details

#to_jsiiObject



985
986
987
988
989
990
991
# File 'data_zone/cfn_data_source.rb', line 985

def to_jsii
  result = {}
  result.merge!({
    "enableBusinessNameGeneration" => @enable_business_name_generation,
  })
  result.compact
end