Class: AWSCDK::Wisdom::CfnKnowledgeBase::ManagedSourceConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
wisdom/cfn_knowledge_base.rb

Overview

Source configuration for managed resources.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(web_crawler_configuration:) ⇒ ManagedSourceConfigurationProperty

Returns a new instance of ManagedSourceConfigurationProperty.

Parameters:



977
978
979
980
# File 'wisdom/cfn_knowledge_base.rb', line 977

def initialize(web_crawler_configuration:)
  @web_crawler_configuration = web_crawler_configuration.is_a?(Hash) ? ::AWSCDK::Wisdom::CfnKnowledgeBase::WebCrawlerConfigurationProperty.new(**web_crawler_configuration.transform_keys(&:to_sym)) : web_crawler_configuration
  Jsii::Type.check_type(@web_crawler_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c193aXNkb20uQ2ZuS25vd2xlZGdlQmFzZS5XZWJDcmF3bGVyQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "webCrawlerConfiguration")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



988
989
990
991
992
# File 'wisdom/cfn_knowledge_base.rb', line 988

def self.jsii_properties
  {
    :web_crawler_configuration => "webCrawlerConfiguration",
  }
end

Instance Method Details

#to_jsiiObject



994
995
996
997
998
999
1000
# File 'wisdom/cfn_knowledge_base.rb', line 994

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