Class: AWSCDK::Bedrock::CfnFlow::LambdaFunctionFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::LambdaFunctionFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow.rb
Overview
Contains configurations for a Lambda function node in the flow.
You specify the Lambda function to invoke and the inputs into the function. The output is the response that is defined in the Lambda function. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
Instance Attribute Summary collapse
-
#lambda_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Lambda function to invoke.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(lambda_arn:) ⇒ LambdaFunctionFlowNodeConfigurationProperty
constructor
A new instance of LambdaFunctionFlowNodeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(lambda_arn:) ⇒ LambdaFunctionFlowNodeConfigurationProperty
Returns a new instance of LambdaFunctionFlowNodeConfigurationProperty.
1828 1829 1830 1831 |
# File 'bedrock/cfn_flow.rb', line 1828 def initialize(lambda_arn:) @lambda_arn = lambda_arn Jsii::Type.check_type(@lambda_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lambdaArn") end |
Instance Attribute Details
#lambda_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Lambda function to invoke.
1837 1838 1839 |
# File 'bedrock/cfn_flow.rb', line 1837 def lambda_arn @lambda_arn end |
Class Method Details
.jsii_properties ⇒ Object
1839 1840 1841 1842 1843 |
# File 'bedrock/cfn_flow.rb', line 1839 def self.jsii_properties { :lambda_arn => "lambdaArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1845 1846 1847 1848 1849 1850 1851 |
# File 'bedrock/cfn_flow.rb', line 1845 def to_jsii result = {} result.merge!({ "lambdaArn" => @lambda_arn, }) result.compact end |