Class: AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeServiceConfigurationProperty

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

Overview

Contains configurations for the service to use for retrieving data to return as the output from the node.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(s3: nil) ⇒ RetrievalFlowNodeServiceConfigurationProperty

Returns a new instance of RetrievalFlowNodeServiceConfigurationProperty.

Parameters:



2545
2546
2547
2548
# File 'bedrock/cfn_flow.rb', line 2545

def initialize(s3: nil)
  @s3 = s3.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeS3ConfigurationProperty.new(**s3.transform_keys(&:to_sym)) : s3
  Jsii::Type.check_type(@s3, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3cuUmV0cmlldmFsRmxvd05vZGVTM0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "s3") unless @s3.nil?
end

Instance Attribute Details

#s3AWSCDK::IResolvable, ... (readonly)

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



2554
2555
2556
# File 'bedrock/cfn_flow.rb', line 2554

def s3
  @s3
end

Class Method Details

.jsii_propertiesObject



2556
2557
2558
2559
2560
# File 'bedrock/cfn_flow.rb', line 2556

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

Instance Method Details

#to_jsiiObject



2562
2563
2564
2565
2566
2567
2568
# File 'bedrock/cfn_flow.rb', line 2562

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