# CfnBotVersionProps

Properties for defining a `CfnBotVersion`.

Extends: CfnBotVersionProps
Used as props by: CfnBotVersion

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
const cfnBotVersionProps: lex.CfnBotVersionProps = {
  botId: 'botId',
  botVersionLocaleSpecification: [{
    botVersionLocaleDetails: {
      sourceBotVersion: 'sourceBotVersion',
    },
    localeId: 'localeId',
  }],

  // the properties below are optional
  description: 'description',
};
```

## Properties

- `botId`: string | [IBotRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_lex.IBotRef.html) (required) — The unique identifier of the bot.

- `botVersionLocaleSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBotVersion.BotVersionLocaleSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBotVersion.BotVersionLocaleSpecificationProperty.html)[] (required) — Specifies the locales that Amazon Lex adds to this version.

  You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.

- `description`: string — The description of the version.
