Class: AWSCDK::Wisdom::CfnKnowledgeBase::URLConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(seed_urls: nil) ⇒ URLConfigurationProperty

Returns a new instance of URLConfigurationProperty.

Parameters:



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_urlsAWSCDK::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_propertiesObject



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_jsiiObject



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