Class: AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeConfigurationProperty

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

Overview

Contains configurations for a Retrieval node in a flow.

This node retrieves data from the Amazon S3 location that you specify and returns it as the output.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service_configuration:) ⇒ RetrievalFlowNodeConfigurationProperty

Returns a new instance of RetrievalFlowNodeConfigurationProperty.

Parameters:



2479
2480
2481
2482
# File 'bedrock/cfn_flow.rb', line 2479

def initialize(service_configuration:)
  @service_configuration = service_configuration.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeServiceConfigurationProperty.new(**service_configuration.transform_keys(&:to_sym)) : service_configuration
  Jsii::Type.check_type(@service_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3cuUmV0cmlldmFsRmxvd05vZGVTZXJ2aWNlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "serviceConfiguration")
end

Instance Attribute Details

#service_configurationAWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeServiceConfigurationProperty (readonly)

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



2488
2489
2490
# File 'bedrock/cfn_flow.rb', line 2488

def service_configuration
  @service_configuration
end

Class Method Details

.jsii_propertiesObject



2490
2491
2492
2493
2494
# File 'bedrock/cfn_flow.rb', line 2490

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

Instance Method Details

#to_jsiiObject



2496
2497
2498
2499
2500
2501
2502
# File 'bedrock/cfn_flow.rb', line 2496

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