Class: AWSCDK::Bedrock::CfnDataSource::SeedURLProperty

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

Overview

The seed or starting point URL.

You should be authorized to crawl the URL.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url:) ⇒ SeedURLProperty

Returns a new instance of SeedURLProperty.

Parameters:

  • url (String)

    A seed or starting point URL.



2053
2054
2055
2056
# File 'bedrock/cfn_data_source.rb', line 2053

def initialize(url:)
  @url = url
  Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url")
end

Instance Attribute Details

#urlString (readonly)

A seed or starting point URL.



2062
2063
2064
# File 'bedrock/cfn_data_source.rb', line 2062

def url
  @url
end

Class Method Details

.jsii_propertiesObject



2064
2065
2066
2067
2068
# File 'bedrock/cfn_data_source.rb', line 2064

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

Instance Method Details

#to_jsiiObject



2070
2071
2072
2073
2074
2075
2076
# File 'bedrock/cfn_data_source.rb', line 2070

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