Class: AWSCDK::Bedrock::CfnDataSource::SeedURLProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataSource::SeedURLProperty
- 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
-
#url ⇒ String
readonly
A seed or starting point URL.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url:) ⇒ SeedURLProperty
constructor
A new instance of SeedURLProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url:) ⇒ SeedURLProperty
Returns a new instance of SeedURLProperty.
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
#url ⇒ String (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_properties ⇒ Object
2064 2065 2066 2067 2068 |
# File 'bedrock/cfn_data_source.rb', line 2064 def self.jsii_properties { :url => "url", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |