Class: AWSCDK::Bedrock::CfnFlowVersion::LambdaFunctionFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::LambdaFunctionFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow_version.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.
1649 1650 1651 1652 |
# File 'bedrock/cfn_flow_version.rb', line 1649 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.
1658 1659 1660 |
# File 'bedrock/cfn_flow_version.rb', line 1658 def lambda_arn @lambda_arn end |
Class Method Details
.jsii_properties ⇒ Object
1660 1661 1662 1663 1664 |
# File 'bedrock/cfn_flow_version.rb', line 1660 def self.jsii_properties { :lambda_arn => "lambdaArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1666 1667 1668 1669 1670 1671 1672 |
# File 'bedrock/cfn_flow_version.rb', line 1666 def to_jsii result = {} result.merge!({ "lambdaArn" => @lambda_arn, }) result.compact end |