interface InlineCodeFlowNodeConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnFlow.InlineCodeFlowNodeConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlow_InlineCodeFlowNodeConfigurationProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnFlow.InlineCodeFlowNodeConfigurationProperty |
![]() | aws_cdk.aws_bedrock.CfnFlow.InlineCodeFlowNodeConfigurationProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnFlow » InlineCodeFlowNodeConfigurationProperty |
Contains configurations for an inline code node in your flow.
Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function.
Example
// 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 inlineCodeFlowNodeConfigurationProperty: bedrock.CfnFlow.InlineCodeFlowNodeConfigurationProperty = {
code: 'code',
language: 'language',
};
Properties
Name | Type | Description |
---|---|---|
code | string | The code that's executed in your inline code node. |
language | string | The programming language used by your inline code node. |
code
Type:
string
The code that's executed in your inline code node.
The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.
The code must be valid in the programming language
that you specify.
language
Type:
string
The programming language used by your inline code node.
The code must be valid in the programming language
that you specify. Currently, only Python 3 ( Python_3
) is supported.