Class: AWSCDK::Bedrock::CfnDataSource::IntermediateStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnDataSource::IntermediateStorageProperty
- 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
-
#s3_location ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::S3LocationProperty
readonly
An S3 bucket path.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_location:) ⇒ IntermediateStorageProperty
constructor
A new instance of IntermediateStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_location:) ⇒ IntermediateStorageProperty
Returns a new instance of IntermediateStorageProperty.
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 |
Instance Attribute Details
#s3_location ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnDataSource::S3LocationProperty (readonly)
An S3 bucket path.
1512 1513 1514 |
# File 'bedrock/cfn_data_source.rb', line 1512 def s3_location @s3_location end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |