Class: AWSCDK::Bedrock::CfnDataSource::IntermediateStorageProperty

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

Overview

A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3_location:) ⇒ IntermediateStorageProperty

Returns a new instance of IntermediateStorageProperty.

Parameters:



1503
1504
1505
1506
# File 'bedrock/cfn_data_source.rb', line 1503

def initialize(s3_location:)
  @s3_location = s3_location.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnDataSource::S3LocationProperty.new(**s3_location.transform_keys(&:to_sym)) : s3_location
  Jsii::Type.check_type(@s3_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkRhdGFTb3VyY2UuUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "s3Location")
end

Class Method Details

.jsii_propertiesObject



1514
1515
1516
1517
1518
# File 'bedrock/cfn_data_source.rb', line 1514

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

Instance Method Details

#to_jsiiObject



1520
1521
1522
1523
1524
1525
1526
# File 'bedrock/cfn_data_source.rb', line 1520

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