Class: AWSCDK::Wisdom::CfnKnowledgeBase::URLConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnKnowledgeBase::URLConfigurationProperty
- Defined in:
- wisdom/cfn_knowledge_base.rb
Overview
The configuration of the URL/URLs for the web content that you want to crawl.
You should be authorized to crawl the URLs.
Instance Attribute Summary collapse
-
#seed_urls ⇒ AWSCDK::IResolvable, ...
readonly
List of URLs for crawling.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(seed_urls: nil) ⇒ URLConfigurationProperty
constructor
A new instance of URLConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(seed_urls: nil) ⇒ URLConfigurationProperty
Returns a new instance of URLConfigurationProperty.
1299 1300 1301 1302 |
# File 'wisdom/cfn_knowledge_base.rb', line 1299 def initialize(seed_urls: nil) @seed_urls = seed_urls Jsii::Type.check_type(@seed_urls, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd2lzZG9tLkNmbktub3dsZWRnZUJhc2UuU2VlZFVybFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "seedUrls") unless @seed_urls.nil? end |
Instance Attribute Details
#seed_urls ⇒ AWSCDK::IResolvable, ... (readonly)
List of URLs for crawling.
1308 1309 1310 |
# File 'wisdom/cfn_knowledge_base.rb', line 1308 def seed_urls @seed_urls end |
Class Method Details
.jsii_properties ⇒ Object
1310 1311 1312 1313 1314 |
# File 'wisdom/cfn_knowledge_base.rb', line 1310 def self.jsii_properties { :seed_urls => "seedUrls", } end |
Instance Method Details
#to_jsii ⇒ Object
1316 1317 1318 1319 1320 1321 1322 |
# File 'wisdom/cfn_knowledge_base.rb', line 1316 def to_jsii result = {} result.merge!({ "seedUrls" => @seed_urls, }) result.compact end |