Class: AWSCDK::Kendra::CfnDataSource::WebCrawlerSiteMapsConfigurationProperty

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

Overview

Provides the configuration information of the sitemap URLs to crawl.

When selecting websites to index, you must adhere to the Amazon Acceptable Use Policy and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(site_maps:) ⇒ WebCrawlerSiteMapsConfigurationProperty

Returns a new instance of WebCrawlerSiteMapsConfigurationProperty.

Parameters:

  • site_maps (Array<String>)

    The list of sitemap URLs of the websites you want to crawl.



3998
3999
4000
4001
# File 'kendra/cfn_data_source.rb', line 3998

def initialize(site_maps:)
  @site_maps = site_maps
  Jsii::Type.check_type(@site_maps, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "siteMaps")
end

Instance Attribute Details

#site_mapsArray<String> (readonly)

The list of sitemap URLs of the websites you want to crawl.

The list can include a maximum of three sitemap URLs.



4009
4010
4011
# File 'kendra/cfn_data_source.rb', line 4009

def site_maps
  @site_maps
end

Class Method Details

.jsii_propertiesObject



4011
4012
4013
4014
4015
# File 'kendra/cfn_data_source.rb', line 4011

def self.jsii_properties
  {
    :site_maps => "siteMaps",
  }
end

Instance Method Details

#to_jsiiObject



4017
4018
4019
4020
4021
4022
4023
# File 'kendra/cfn_data_source.rb', line 4017

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