Interface CfnBotAlias.BotAliasLocaleSettingsItemProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBotAlias.BotAliasLocaleSettingsItemProperty.Jsii$Proxy
Enclosing class:
CfnBotAlias

@Stability(Stable) public static interface CfnBotAlias.BotAliasLocaleSettingsItemProperty extends software.amazon.jsii.JsiiSerializable
Specifies settings that are unique to a locale.

For example, you can use different Lambda function depending on the bot's locale.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lex.*;
 BotAliasLocaleSettingsItemProperty botAliasLocaleSettingsItemProperty = BotAliasLocaleSettingsItemProperty.builder()
         .botAliasLocaleSetting(BotAliasLocaleSettingsProperty.builder()
                 .enabled(false)
                 // the properties below are optional
                 .codeHookSpecification(CodeHookSpecificationProperty.builder()
                         .lambdaCodeHook(LambdaCodeHookProperty.builder()
                                 .codeHookInterfaceVersion("codeHookInterfaceVersion")
                                 .lambdaArn("lambdaArn")
                                 .build())
                         .build())
                 .build())
         .localeId("localeId")
         .build();