Class: AWSCDK::Wisdom::CfnKnowledgeBase::ManagedSourceConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnKnowledgeBase::ManagedSourceConfigurationProperty
- Defined in:
- wisdom/cfn_knowledge_base.rb
Overview
Source configuration for managed resources.
Instance Attribute Summary collapse
-
#web_crawler_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Wisdom::CfnKnowledgeBase::WebCrawlerConfigurationProperty
readonly
Configuration data for web crawler data source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(web_crawler_configuration:) ⇒ ManagedSourceConfigurationProperty
constructor
A new instance of ManagedSourceConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(web_crawler_configuration:) ⇒ ManagedSourceConfigurationProperty
Returns a new instance of ManagedSourceConfigurationProperty.
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
#web_crawler_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Wisdom::CfnKnowledgeBase::WebCrawlerConfigurationProperty (readonly)
Configuration data for web crawler data source.
986 987 988 |
# File 'wisdom/cfn_knowledge_base.rb', line 986 def web_crawler_configuration @web_crawler_configuration end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |