Class: AWSCDK::Bedrock::CfnDataSource::WebSourceConfigurationProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url_configuration:) ⇒ WebSourceConfigurationProperty

Returns a new instance of WebSourceConfigurationProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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