Class: AWSCDK::Bedrock::CfnDataSource::WebSourceConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataSource::WebSourceConfigurationProperty
- Defined in:
- bedrock/cfn_data_source.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
-
#url_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::URLConfigurationProperty
readonly
The configuration of the URL/URLs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url_configuration:) ⇒ WebSourceConfigurationProperty
constructor
A new instance of WebSourceConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url_configuration:) ⇒ WebSourceConfigurationProperty
Returns a new instance of WebSourceConfigurationProperty.
2776 2777 2778 2779 |
# File 'bedrock/cfn_data_source.rb', line 2776 def initialize(url_configuration:) @url_configuration = url_configuration.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataSource::URLConfigurationProperty.new(**url_configuration.transform_keys(&:to_sym)) : url_configuration Jsii::Type.check_type(@url_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFTb3VyY2UuVXJsQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "urlConfiguration") end |
Instance Attribute Details
#url_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::URLConfigurationProperty (readonly)
The configuration of the URL/URLs.
2785 2786 2787 |
# File 'bedrock/cfn_data_source.rb', line 2785 def url_configuration @url_configuration end |
Class Method Details
.jsii_properties ⇒ Object
2787 2788 2789 2790 2791 |
# File 'bedrock/cfn_data_source.rb', line 2787 def self.jsii_properties { :url_configuration => "urlConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
2793 2794 2795 2796 2797 2798 2799 |
# File 'bedrock/cfn_data_source.rb', line 2793 def to_jsii result = {} result.merge!({ "urlConfiguration" => @url_configuration, }) result.compact end |