# 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.

- Source: Generated at build time
- Type last changed: v2.199.0 · 27 May 2025

## Example

TypeScript:

```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 inlineCodeFlowNodeConfigurationProperty: bedrock.CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty = {
  code: 'code',
  language: 'language',
};
```

Python:

```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

inline_code_flow_node_configuration_property = bedrock.CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty(
    code="code",
    language="language"
)
```

Java:

```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.*;

InlineCodeFlowNodeConfigurationProperty inlineCodeFlowNodeConfigurationProperty = InlineCodeFlowNodeConfigurationProperty.builder()
        .code("code")
        .language("language")
        .build();
```

C# / .NET:

```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 inlineCodeFlowNodeConfigurationProperty = new InlineCodeFlowNodeConfigurationProperty {
    Code = "code",
    Language = "language"
};
```

Golang:

```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"

inlineCodeFlowNodeConfigurationProperty := &InlineCodeFlowNodeConfigurationProperty{
	Code: jsii.String("code"),
	Language: jsii.String("language"),
}
```

## Properties

- `code`: string (required) — 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`: string (required) — 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.
