# LexFlowNodeConfigurationProperty

Contains configurations for a Lex node in the flow.

You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see [Node types in a flow](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-nodes.html) in the Amazon Bedrock User Guide.

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## 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 lexFlowNodeConfigurationProperty: bedrock.CfnFlow.LexFlowNodeConfigurationProperty = {
  botAliasArn: 'botAliasArn',
  localeId: 'localeId',
};
```

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

lex_flow_node_configuration_property = bedrock.CfnFlow.LexFlowNodeConfigurationProperty(
    bot_alias_arn="botAliasArn",
    locale_id="localeId"
)
```

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

LexFlowNodeConfigurationProperty lexFlowNodeConfigurationProperty = LexFlowNodeConfigurationProperty.builder()
        .botAliasArn("botAliasArn")
        .localeId("localeId")
        .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 lexFlowNodeConfigurationProperty = new LexFlowNodeConfigurationProperty {
    BotAliasArn = "botAliasArn",
    LocaleId = "localeId"
};
```

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"

lexFlowNodeConfigurationProperty := &LexFlowNodeConfigurationProperty{
	BotAliasArn: jsii.String("botAliasArn"),
	LocaleId: jsii.String("localeId"),
}
```

## Properties

- `botAliasArn`: string (required) — The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.

- `localeId`: string (required) — The Region to invoke the Amazon Lex bot in.
