Class: AWSCDK::Bedrock::CfnFlowVersion::RetrievalFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::RetrievalFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow_version.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::CfnFlowVersion::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.
2300 2301 2302 2303 |
# File 'bedrock/cfn_flow_version.rb', line 2300 def initialize(service_configuration:) @service_configuration = service_configuration.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlowVersion::RetrievalFlowNodeServiceConfigurationProperty.new(**service_configuration.transform_keys(&:to_sym)) : service_configuration Jsii::Type.check_type(@service_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3dWZXJzaW9uLlJldHJpZXZhbEZsb3dOb2RlU2VydmljZUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "serviceConfiguration") end |
Instance Attribute Details
#service_configuration ⇒ AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlowVersion::RetrievalFlowNodeServiceConfigurationProperty (readonly)
Contains configurations for the service to use for retrieving data to return as the output from the node.
2309 2310 2311 |
# File 'bedrock/cfn_flow_version.rb', line 2309 def service_configuration @service_configuration end |
Class Method Details
.jsii_properties ⇒ Object
2311 2312 2313 2314 2315 |
# File 'bedrock/cfn_flow_version.rb', line 2311 def self.jsii_properties { :service_configuration => "serviceConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
2317 2318 2319 2320 2321 2322 2323 |
# File 'bedrock/cfn_flow_version.rb', line 2317 def to_jsii result = {} result.merge!({ "serviceConfiguration" => @service_configuration, }) result.compact end |