# AWS::Lex Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```ts
import * as lex from 'aws-cdk-lib/aws-lex';
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Lex construct libraries](https://constructs.dev/search?q=lex)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Lex resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Lex.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Lex](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Lex.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

| Name | Kind | Summary |
| --- | --- | --- |
| [`CfnBot`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot) | Construct (L1) | > Amazon Lex V2 is the only supported version in CloudFormation . |
| [`CfnBotAlias`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias) | Construct (L1) | > Amazon Lex V2 is the only supported version in CloudFormation . |
| [`CfnBotVersion`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotVersion) | Construct (L1) | > Amazon Lex V2 is the only supported version in CloudFormation . |
| [`CfnResourcePolicy`](/v2/docs/aws-cdk-lib.aws_lex.CfnResourcePolicy) | Construct (L1) | > Amazon Lex V2 is the only supported version in CloudFormation . |
| [`CfnBot.AdvancedRecognitionSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AdvancedRecognitionSettingProperty) | Struct | Provides settings that enable advanced recognition settings for slot values. |
| [`CfnBot.AllowedInputTypesProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AllowedInputTypesProperty) | Struct | Specifies the allowed input types. |
| [`CfnBot.AudioAndDTMFInputSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioAndDTMFInputSpecificationProperty) | Struct | Specifies the audio and DTMF input specification. |
| [`CfnBot.AudioFillerSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioFillerSettingsProperty) | Struct |  |
| [`CfnBot.AudioLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioLogDestinationProperty) | Struct | The location of audio log files collected when conversation logging is enabled for a bot. |
| [`CfnBot.AudioLogSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioLogSettingProperty) | Struct | Settings for logging audio of conversations between Amazon Lex and a user. |
| [`CfnBot.AudioSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioSpecificationProperty) | Struct | Specifies the audio input specifications. |
| [`CfnBot.BedrockAgentConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockAgentConfigurationProperty) | Struct |  |
| [`CfnBot.BedrockAgentIntentConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockAgentIntentConfigurationProperty) | Struct |  |
| [`CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockAgentIntentKnowledgeBaseConfigurationProperty) | Struct |  |
| [`CfnBot.BedrockGuardrailConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockGuardrailConfigurationProperty) | Struct | The details on the Bedrock guardrail configuration. |
| [`CfnBot.BedrockKnowledgeStoreConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockKnowledgeStoreConfigurationProperty) | Struct | Contains details about the configuration of a Amazon Bedrock knowledge base. |
| [`CfnBot.BedrockModelSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockModelSpecificationProperty) | Struct | Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building. |
| [`CfnBot.BKBExactResponseFieldsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BKBExactResponseFieldsProperty) | Struct |  |
| [`CfnBot.BotAliasLocaleSettingsItemProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BotAliasLocaleSettingsItemProperty) | Struct | Specifies locale settings for a single locale. |
| [`CfnBot.BotAliasLocaleSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BotAliasLocaleSettingsProperty) | Struct | Specifies settings that are unique to a locale. |
| [`CfnBot.BotLocaleProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BotLocaleProperty) | Struct | Provides configuration information for a locale. |
| [`CfnBot.BotMemberProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BotMemberProperty) | Struct | A bot that is a member of a bot network. |
| [`CfnBot.BuildtimeSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BuildtimeSettingsProperty) | Struct | Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot. |
| [`CfnBot.ButtonProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ButtonProperty) | Struct | Describes a button to use on a response card used to gather slot values from a user. |
| [`CfnBot.CloudWatchLogGroupLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CloudWatchLogGroupLogDestinationProperty) | Struct | The Amazon CloudWatch Logs log group where the text and metadata logs are delivered. |
| [`CfnBot.CodeHookSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CodeHookSpecificationProperty) | Struct | Contains information about code hooks that Amazon Lex calls during a conversation. |
| [`CfnBot.CompositeSlotTypeSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CompositeSlotTypeSettingProperty) | Struct | A composite slot is a combination of two or more slots that capture multiple pieces of information in a single user input. |
| [`CfnBot.ConditionalBranchProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConditionalBranchProperty) | Struct | A set of actions that Amazon Lex should run if the condition is matched. |
| [`CfnBot.ConditionalSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConditionalSpecificationProperty) | Struct | Provides a list of conditional branches. |
| [`CfnBot.ConditionProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConditionProperty) | Struct | Provides an expression that evaluates to true or false. |
| [`CfnBot.ConversationLogSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ConversationLogSettingsProperty) | Struct | Configures conversation logging that saves audio, text, and metadata for the conversations with your users. |
| [`CfnBot.CustomPayloadProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CustomPayloadProperty) | Struct | A custom response string that Amazon Lex sends to your application. |
| [`CfnBot.CustomVocabularyItemProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CustomVocabularyItemProperty) | Struct | Specifies an entry in a custom vocabulary. |
| [`CfnBot.CustomVocabularyProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.CustomVocabularyProperty) | Struct | Specifies a custom vocabulary. |
| [`CfnBot.DataPrivacyProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DataPrivacyProperty) | Struct | By default, data stored by Amazon Lex is encrypted. |
| [`CfnBot.DataSourceConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DataSourceConfigurationProperty) | Struct | Contains details about the configuration of the knowledge store used for the `AMAZON.QnAIntent` . You must have already created the knowledge store and indexed the documents within it. |
| [`CfnBot.DeepgramSpeechModelConfigProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DeepgramSpeechModelConfigProperty) | Struct |  |
| [`CfnBot.DefaultConditionalBranchProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DefaultConditionalBranchProperty) | Struct | A set of actions that Amazon Lex should run if none of the other conditions are met. |
| [`CfnBot.DescriptiveBotBuilderSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DescriptiveBotBuilderSpecificationProperty) | Struct | Contains specifications for the descriptive bot building feature. |
| [`CfnBot.DialogActionProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogActionProperty) | Struct | Defines the action that the bot executes at runtime when the conversation reaches this step. |
| [`CfnBot.DialogCodeHookInvocationSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogCodeHookInvocationSettingProperty) | Struct | Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation. |
| [`CfnBot.DialogCodeHookSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogCodeHookSettingProperty) | Struct | Settings that determine the Lambda function that Amazon Lex uses for processing user responses. |
| [`CfnBot.DialogStateProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DialogStateProperty) | Struct | The current state of the conversation with the user. |
| [`CfnBot.DTMFSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DTMFSpecificationProperty) | Struct | Specifies the DTMF input specifications. |
| [`CfnBot.ElicitationCodeHookInvocationSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ElicitationCodeHookInvocationSettingProperty) | Struct | Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values. |
| [`CfnBot.ErrorLogSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ErrorLogSettingsProperty) | Struct |  |
| [`CfnBot.ExactResponseFieldsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ExactResponseFieldsProperty) | Struct | Contains the names of the fields used for an exact response to the user. |
| [`CfnBot.ExternalSourceSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ExternalSourceSettingProperty) | Struct | Provides information about the external source of the slot type's definition. |
| [`CfnBot.FulfillmentCodeHookSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.FulfillmentCodeHookSettingProperty) | Struct | Determines if a Lambda function should be invoked for a specific intent. |
| [`CfnBot.FulfillmentStartResponseSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.FulfillmentStartResponseSpecificationProperty) | Struct | Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running. |
| [`CfnBot.FulfillmentUpdateResponseSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty) | Struct | Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running. |
| [`CfnBot.FulfillmentUpdatesSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.FulfillmentUpdatesSpecificationProperty) | Struct | Provides information for updating the user on the progress of fulfilling an intent. |
| [`CfnBot.GenerativeAISettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.GenerativeAISettingsProperty) | Struct | Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot. |
| [`CfnBot.GrammarSlotTypeSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSettingProperty) | Struct | Settings requried for a slot type based on a grammar that you provide. |
| [`CfnBot.GrammarSlotTypeSourceProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.GrammarSlotTypeSourceProperty) | Struct | Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type. |
| [`CfnBot.ImageResponseCardProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ImageResponseCardProperty) | Struct | A card that is shown to the user by a messaging platform. |
| [`CfnBot.InitialResponseSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.InitialResponseSettingProperty) | Struct | Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots. |
| [`CfnBot.InputContextProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.InputContextProperty) | Struct | A context that must be active for an intent to be selected by Amazon Lex. |
| [`CfnBot.IntentClosingSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentClosingSettingProperty) | Struct | Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled. |
| [`CfnBot.IntentConfirmationSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentConfirmationSettingProperty) | Struct | Provides a prompt for making sure that the user is ready for the intent to be fulfilled. |
| [`CfnBot.IntentDisambiguationSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentDisambiguationSettingsProperty) | Struct | Configures the Intent Disambiguation feature that helps resolve ambiguous user inputs when multiple intents could match. |
| [`CfnBot.IntentOverrideProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentOverrideProperty) | Struct | Override settings to configure the intent state. |
| [`CfnBot.IntentProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.IntentProperty) | Struct | Represents an action that the user wants to perform. |
| [`CfnBot.KendraConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.KendraConfigurationProperty) | Struct | Provides configuration information for the `AMAZON.KendraSearchIntent` intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance. |
| [`CfnBot.LambdaCodeHookProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.LambdaCodeHookProperty) | Struct | Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot. |
| [`CfnBot.MessageGroupProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.MessageGroupProperty) | Struct | Provides one or more messages that Amazon Lex should send to the user. |
| [`CfnBot.MessageProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.MessageProperty) | Struct | The object that provides message text and its type. |
| [`CfnBot.MultipleValuesSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.MultipleValuesSettingProperty) | Struct | Indicates whether a slot can return multiple values. |
| [`CfnBot.NluImprovementSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.NluImprovementSpecificationProperty) | Struct | Configures the Assisted Natural Language Understanding (NLU) feature for your bot. |
| [`CfnBot.ObfuscationSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ObfuscationSettingProperty) | Struct | Determines whether Amazon Lex obscures slot values in conversation logs. |
| [`CfnBot.OpensearchConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.OpensearchConfigurationProperty) | Struct | Contains details about the configuration of the Amazon OpenSearch Service database used for the `AMAZON.QnAIntent` . |
| [`CfnBot.OutputContextProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.OutputContextProperty) | Struct | Describes a session context that is activated when an intent is fulfilled. |
| [`CfnBot.PlainTextMessageProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PlainTextMessageProperty) | Struct | Defines an ASCII text message to send to the user. |
| [`CfnBot.PostDialogCodeHookInvocationSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty) | Struct | Specifies next steps to run after the dialog code hook finishes. |
| [`CfnBot.PostFulfillmentStatusSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PostFulfillmentStatusSpecificationProperty) | Struct | Provides a setting that determines whether the post-fulfillment response is sent to the user. |
| [`CfnBot.PromptAttemptSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PromptAttemptSpecificationProperty) | Struct | Specifies the settings on a prompt attempt. |
| [`CfnBot.PromptSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.PromptSpecificationProperty) | Struct | Specifies a list of message groups that Amazon Lex sends to a user to elicit a response. |
| [`CfnBot.QInConnectAssistantConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.QInConnectAssistantConfigurationProperty) | Struct |  |
| [`CfnBot.QInConnectIntentConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.QInConnectIntentConfigurationProperty) | Struct |  |
| [`CfnBot.QnAIntentConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.QnAIntentConfigurationProperty) | Struct | Details about the the configuration of the built-in `Amazon.QnAIntent` . |
| [`CfnBot.QnAKendraConfigurationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.QnAKendraConfigurationProperty) | Struct | Contains details about the configuration of the Amazon Kendra index used for the `AMAZON.QnAIntent` . |
| [`CfnBot.ReplicationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ReplicationProperty) | Struct |  |
| [`CfnBot.ResponseSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.ResponseSpecificationProperty) | Struct | Specifies a list of message groups that Amazon Lex uses to respond the user input. |
| [`CfnBot.RuntimeSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.RuntimeSettingsProperty) | Struct | Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot. |
| [`CfnBot.S3BucketLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.S3BucketLogDestinationProperty) | Struct | Specifies an Amazon S3 bucket for logging audio conversations. |
| [`CfnBot.S3LocationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.S3LocationProperty) | Struct | Defines an Amazon S3 bucket location. |
| [`CfnBot.SampleUtteranceGenerationSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleUtteranceGenerationSpecificationProperty) | Struct | Contains specifications for the sample utterance generation feature. |
| [`CfnBot.SampleUtteranceProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleUtteranceProperty) | Struct | A sample utterance that invokes an intent or respond to a slot elicitation prompt. |
| [`CfnBot.SampleValueProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SampleValueProperty) | Struct | Defines one of the values for a slot type. |
| [`CfnBot.SentimentAnalysisSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SentimentAnalysisSettingsProperty) | Struct | Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. |
| [`CfnBot.SessionAttributeProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SessionAttributeProperty) | Struct | A key/value pair representing session-specific context information. |
| [`CfnBot.SlotCaptureSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotCaptureSettingProperty) | Struct | Settings used when Amazon Lex successfully captures a slot value from a user. |
| [`CfnBot.SlotDefaultValueProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotDefaultValueProperty) | Struct | Specifies the default value to use when a user doesn't provide a value for a slot. |
| [`CfnBot.SlotDefaultValueSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotDefaultValueSpecificationProperty) | Struct | The default value to use when a user doesn't provide a value for a slot. |
| [`CfnBot.SlotPriorityProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotPriorityProperty) | Struct | Sets the priority that Amazon Lex should use when eliciting slot values from a user. |
| [`CfnBot.SlotProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotProperty) | Struct | Specifies the definition of a slot. |
| [`CfnBot.SlotResolutionImprovementSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotResolutionImprovementSpecificationProperty) | Struct | Contains specifications for the assisted slot resolution feature. |
| [`CfnBot.SlotTypeProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotTypeProperty) | Struct | Describes a slot type. |
| [`CfnBot.SlotTypeValueProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotTypeValueProperty) | Struct | Each slot type can have a set of values. |
| [`CfnBot.SlotValueElicitationSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueElicitationSettingProperty) | Struct | Specifies the elicitation setting details eliciting a slot. |
| [`CfnBot.SlotValueOverrideMapProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueOverrideMapProperty) | Struct | Maps a slot name to the [SlotValueOverride](https://docs.aws.amazon.com/lexv2/latest/APIReference/API_SlotValueOverride.html) object. |
| [`CfnBot.SlotValueOverrideProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueOverrideProperty) | Struct | The slot values that Amazon Lex uses when it sets slot values in a dialog step. |
| [`CfnBot.SlotValueProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueProperty) | Struct | The value to set in a slot. |
| [`CfnBot.SlotValueRegexFilterProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueRegexFilterProperty) | Struct | Provides a regular expression used to validate the value of a slot. |
| [`CfnBot.SlotValueSelectionSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SlotValueSelectionSettingProperty) | Struct | Contains settings used by Amazon Lex to select a slot value. |
| [`CfnBot.SpecificationsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SpecificationsProperty) | Struct | Subslot specifications. |
| [`CfnBot.SpeechFoundationModelProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SpeechFoundationModelProperty) | Struct | Configuration for a foundation model used for speech synthesis and recognition capabilities. |
| [`CfnBot.SpeechModelConfigProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SpeechModelConfigProperty) | Struct |  |
| [`CfnBot.SpeechRecognitionSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SpeechRecognitionSettingsProperty) | Struct |  |
| [`CfnBot.SSMLMessageProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SSMLMessageProperty) | Struct | Defines a Speech Synthesis Markup Language (SSML) prompt. |
| [`CfnBot.StillWaitingResponseSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.StillWaitingResponseSpecificationProperty) | Struct | Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response. |
| [`CfnBot.SubSlotSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SubSlotSettingProperty) | Struct | Specifications for the constituent sub slots and the expression for the composite slot. |
| [`CfnBot.SubSlotTypeCompositionProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SubSlotTypeCompositionProperty) | Struct | Subslot type composition. |
| [`CfnBot.SubSlotValueElicitationSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.SubSlotValueElicitationSettingProperty) | Struct | Subslot elicitation settings. |
| [`CfnBot.TestBotAliasSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.TestBotAliasSettingsProperty) | Struct | Specifies configuration settings for the alias used to test the bot. |
| [`CfnBot.TextInputSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.TextInputSpecificationProperty) | Struct | Specifies the text input specifications. |
| [`CfnBot.TextLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.TextLogDestinationProperty) | Struct | Defines the Amazon CloudWatch Logs destination log group for conversation text logs. |
| [`CfnBot.TextLogSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.TextLogSettingProperty) | Struct | Defines settings to enable text conversation logs. |
| [`CfnBot.UnifiedSpeechSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.UnifiedSpeechSettingsProperty) | Struct | Unified configuration settings that combine speech recognition and synthesis capabilities. |
| [`CfnBot.VoiceSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.VoiceSettingsProperty) | Struct | Defines settings for using an Amazon Polly voice to communicate with a user. |
| [`CfnBot.WaitAndContinueSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBot.WaitAndContinueSpecificationProperty) | Struct | Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. |
| [`CfnBotAlias.AudioLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.AudioLogDestinationProperty) | Struct | Specifies the S3 bucket location where audio logs are stored. |
| [`CfnBotAlias.AudioLogSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.AudioLogSettingProperty) | Struct | Settings for logging audio of conversations between Amazon Lex and a user. |
| [`CfnBotAlias.BotAliasLocaleSettingsItemProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.BotAliasLocaleSettingsItemProperty) | Struct | Specifies settings that are unique to a locale. |
| [`CfnBotAlias.BotAliasLocaleSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.BotAliasLocaleSettingsProperty) | Struct | Specifies settings that are unique to a locale. |
| [`CfnBotAlias.CloudWatchLogGroupLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.CloudWatchLogGroupLogDestinationProperty) | Struct | The Amazon CloudWatch Logs log group where the text and metadata logs are delivered. |
| [`CfnBotAlias.CodeHookSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.CodeHookSpecificationProperty) | Struct | Contains information about code hooks that Amazon Lex calls during a conversation. |
| [`CfnBotAlias.ConversationLogSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.ConversationLogSettingsProperty) | Struct | Configures conversation logging that saves audio, text, and metadata for the conversations with your users. |
| [`CfnBotAlias.LambdaCodeHookProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.LambdaCodeHookProperty) | Struct | Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot. |
| [`CfnBotAlias.S3BucketLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.S3BucketLogDestinationProperty) | Struct | Specifies an Amazon S3 bucket for logging audio conversations. |
| [`CfnBotAlias.SentimentAnalysisSettingsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.SentimentAnalysisSettingsProperty) | Struct | Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. |
| [`CfnBotAlias.TextLogDestinationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.TextLogDestinationProperty) | Struct | Defines the Amazon CloudWatch Logs destination log group for conversation text logs. |
| [`CfnBotAlias.TextLogSettingProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAlias.TextLogSettingProperty) | Struct | Defines settings to enable text conversation logs. |
| [`CfnBotAliasProps`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotAliasProps) | Struct | Properties for defining a `CfnBotAlias`. |
| [`CfnBotProps`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotProps) | Struct | Properties for defining a `CfnBot`. |
| [`CfnBotVersion.BotVersionLocaleDetailsProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotVersion.BotVersionLocaleDetailsProperty) | Struct | The version of a bot used for a bot locale. |
| [`CfnBotVersion.BotVersionLocaleSpecificationProperty`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotVersion.BotVersionLocaleSpecificationProperty) | Struct | Specifies the locale that Amazon Lex adds to this version. |
| [`CfnBotVersionProps`](/v2/docs/aws-cdk-lib.aws_lex.CfnBotVersionProps) | Struct | Properties for defining a `CfnBotVersion`. |
| [`CfnResourcePolicyProps`](/v2/docs/aws-cdk-lib.aws_lex.CfnResourcePolicyProps) | Struct | Properties for defining a `CfnResourcePolicy`. |
