Class: AWSCDK::Bedrock::CfnKnowledgeBase::S3LocationProperty

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

Overview

A storage location in an Amazon S3 bucket.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(uri:) ⇒ S3LocationProperty

Returns a new instance of S3LocationProperty.

Parameters:

  • uri (String)

    An object URI starting with s3:// .



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

#uriString (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_propertiesObject



2455
2456
2457
2458
2459
# File 'bedrock/cfn_knowledge_base.rb', line 2455

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

Instance Method Details

#to_jsiiObject



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