Class: AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeConfigurationProperty
- 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
-
#service_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlow::RetrievalFlowNodeServiceConfigurationProperty
readonly
Contains configurations for the service to use for retrieving data to return as the output from the node.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(service_configuration:) ⇒ RetrievalFlowNodeConfigurationProperty
constructor
A new instance of RetrievalFlowNodeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(service_configuration:) ⇒ RetrievalFlowNodeConfigurationProperty
Returns a new instance of RetrievalFlowNodeConfigurationProperty.
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_configuration ⇒ AWSCDK::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_properties ⇒ Object
2490 2491 2492 2493 2494 |
# File 'bedrock/cfn_flow.rb', line 2490 def self.jsii_properties { :service_configuration => "serviceConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |