Class: AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeS3ConfigurationProperty

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

Overview

Contains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:) ⇒ RetrievalFlowNodeS3ConfigurationProperty

Returns a new instance of RetrievalFlowNodeS3ConfigurationProperty.

Parameters:

  • bucket_name (String)

    The name of the Amazon S3 bucket from which to retrieve data.



2512
2513
2514
2515
# File 'bedrock/cfn_flow.rb', line 2512

def initialize(bucket_name:)
  @bucket_name = bucket_name
  Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName")
end

Instance Attribute Details

#bucket_nameString (readonly)

The name of the Amazon S3 bucket from which to retrieve data.



2521
2522
2523
# File 'bedrock/cfn_flow.rb', line 2521

def bucket_name
  @bucket_name
end

Class Method Details

.jsii_propertiesObject



2523
2524
2525
2526
2527
# File 'bedrock/cfn_flow.rb', line 2523

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

Instance Method Details

#to_jsiiObject



2529
2530
2531
2532
2533
2534
2535
# File 'bedrock/cfn_flow.rb', line 2529

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