LambdaFunctionFlowNodeConfigurationProperty Struct
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const lambdaFunctionFlowNodeConfigurationProperty: bedrock.CfnFlow.LambdaFunctionFlowNodeConfigurationProperty = {
lambdaArn: 'lambdaArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
lambda_function_flow_node_configuration_property = bedrock.CfnFlow.LambdaFunctionFlowNodeConfigurationProperty(
lambda_arn="lambdaArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
LambdaFunctionFlowNodeConfigurationProperty lambdaFunctionFlowNodeConfigurationProperty = LambdaFunctionFlowNodeConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var lambdaFunctionFlowNodeConfigurationProperty = new LambdaFunctionFlowNodeConfigurationProperty {
LambdaArn = "lambdaArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
lambdaFunctionFlowNodeConfigurationProperty := &LambdaFunctionFlowNodeConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
}
Properties
The Amazon Resource Name (ARN) of the Lambda function to invoke.