Class: AWSCDK::Wisdom::CfnKnowledgeBase::SeedURLProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnKnowledgeBase::SeedURLProperty
- Defined in:
- wisdom/cfn_knowledge_base.rb
Overview
A URL for crawling.
Instance Attribute Summary collapse
-
#url ⇒ String?
readonly
URL for crawling.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url: nil) ⇒ SeedURLProperty
constructor
A new instance of SeedURLProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url: nil) ⇒ SeedURLProperty
Returns a new instance of SeedURLProperty.
1129 1130 1131 1132 |
# File 'wisdom/cfn_knowledge_base.rb', line 1129 def initialize(url: nil) @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") unless @url.nil? end |
Instance Attribute Details
#url ⇒ String? (readonly)
URL for crawling.
1138 1139 1140 |
# File 'wisdom/cfn_knowledge_base.rb', line 1138 def url @url end |
Class Method Details
.jsii_properties ⇒ Object
1140 1141 1142 1143 1144 |
# File 'wisdom/cfn_knowledge_base.rb', line 1140 def self.jsii_properties { :url => "url", } end |
Instance Method Details
#to_jsii ⇒ Object
1146 1147 1148 1149 1150 1151 1152 |
# File 'wisdom/cfn_knowledge_base.rb', line 1146 def to_jsii result = {} result.merge!({ "url" => @url, }) result.compact end |