aws-cdk-lib.aws_lex.CfnBotProps

interface CfnBotProps

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotProps
Javasoftware.amazon.awscdk.services.lex.CfnBotProps
Pythonaws_cdk.aws_lex.CfnBotProps
TypeScript aws-cdk-lib » aws_lex » CfnBotProps

Properties for defining a CfnBot.

Example

// The generated example for this type would exceed 500 lines,
// and has been elided for readability.

Properties

NameTypeDescription
dataPrivacyanyBy default, data stored by Amazon Lex is encrypted.
idleSessionTtlInSecondsnumberThe time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
namestringThe name of the bot locale.
roleArnstringThe Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
autoBuildBotLocales?boolean | IResolvableIndicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.
botFileS3Location?IResolvable | S3LocationPropertyThe Amazon S3 location of files used to import a bot.
botLocales?IResolvable | IResolvable | BotLocaleProperty[]A list of locales for the bot.
botTags?IResolvable | IResolvable | CfnTag[]A list of tags to add to the bot.
description?stringThe description of the version.
testBotAliasSettings?IResolvable | TestBotAliasSettingsPropertySpecifies configuration settings for the alias used to test the bot.
testBotAliasTags?IResolvable | IResolvable | CfnTag[]A list of tags to add to the test alias for a bot.

dataPrivacy

Type: any

By default, data stored by Amazon Lex is encrypted.

The DataPrivacy structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.


idleSessionTtlInSeconds

Type: number

The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.

A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.

You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.


name

Type: string

The name of the bot locale.


roleArn

Type: string

The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.


autoBuildBotLocales?

Type: boolean | IResolvable (optional)

Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.


botFileS3Location?

Type: IResolvable | S3LocationProperty (optional)

The Amazon S3 location of files used to import a bot.

The files must be in the import format specified in JSON format for importing and exporting in the Amazon Lex developer guide.


botLocales?

Type: IResolvable | IResolvable | BotLocaleProperty[] (optional)

A list of locales for the bot.


botTags?

Type: IResolvable | IResolvable | CfnTag[] (optional)

A list of tags to add to the bot.

You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.


description?

Type: string (optional)

The description of the version.


testBotAliasSettings?

Type: IResolvable | TestBotAliasSettingsProperty (optional)

Specifies configuration settings for the alias used to test the bot.

If the TestBotAliasSettings property is not specified, the settings are configured with default values.


testBotAliasTags?

Type: IResolvable | IResolvable | CfnTag[] (optional)

A list of tags to add to the test alias for a bot.

You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.