Class: AWSCDK::Bedrock::CfnKnowledgeBase::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::S3LocationProperty
- Defined in:
- bedrock/cfn_knowledge_base.rb
Overview
A storage location in an Amazon S3 bucket.
Instance Attribute Summary collapse
-
#uri ⇒ String
readonly
An object URI starting with
s3://.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(uri:) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(uri:) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
2444 2445 2446 2447 |
# File 'bedrock/cfn_knowledge_base.rb', line 2444 def initialize(uri:) @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") end |
Instance Attribute Details
#uri ⇒ String (readonly)
An object URI starting with s3:// .
2453 2454 2455 |
# File 'bedrock/cfn_knowledge_base.rb', line 2453 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
2455 2456 2457 2458 2459 |
# File 'bedrock/cfn_knowledge_base.rb', line 2455 def self.jsii_properties { :uri => "uri", } end |
Instance Method Details
#to_jsii ⇒ Object
2461 2462 2463 2464 2465 2466 2467 |
# File 'bedrock/cfn_knowledge_base.rb', line 2461 def to_jsii result = {} result.merge!({ "uri" => @uri, }) result.compact end |