Class: AWSCDK::Bedrock::CfnDataSource::URLConfigurationProperty

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

Overview

The configuration of web URLs 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:) ⇒ URLConfigurationProperty

Returns a new instance of URLConfigurationProperty.

Parameters:



2458
2459
2460
2461
# File 'bedrock/cfn_data_source.rb', line 2458

def initialize(seed_urls:)
  @seed_urls = seed_urls
  Jsii::Type.check_type(@seed_urls, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5EYXRhU291cmNlLlNlZWRVcmxQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "seedUrls")
end

Instance Attribute Details

Class Method Details

.jsii_propertiesObject



2469
2470
2471
2472
2473
# File 'bedrock/cfn_data_source.rb', line 2469

def self.jsii_properties
  {
    :seed_urls => "seedUrls",
  }
end

Instance Method Details

#to_jsiiObject



2475
2476
2477
2478
2479
2480
2481
# File 'bedrock/cfn_data_source.rb', line 2475

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