Class: AWSCDK::Bedrock::CfnDataSource::URLConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataSource::URLConfigurationProperty
- 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
-
#seed_urls ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::SeedURLProperty>
readonly
One or more seed or starting point URLs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(seed_urls:) ⇒ URLConfigurationProperty
constructor
A new instance of URLConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(seed_urls:) ⇒ URLConfigurationProperty
Returns a new instance of URLConfigurationProperty.
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
#seed_urls ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::SeedURLProperty> (readonly)
One or more seed or starting point URLs.
2467 2468 2469 |
# File 'bedrock/cfn_data_source.rb', line 2467 def seed_urls @seed_urls end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |