Interface CfnBot.BotAliasLocaleSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.BotAliasLocaleSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.BotAliasLocaleSettingsProperty
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.*; BotAliasLocaleSettingsProperty botAliasLocaleSettingsProperty = BotAliasLocaleSettingsProperty.builder() .enabled(false) // the properties below are optional .codeHookSpecification(CodeHookSpecificationProperty.builder() .lambdaCodeHook(LambdaCodeHookProperty.builder() .codeHookInterfaceVersion("codeHookInterfaceVersion") .lambdaArn("lambdaArn") .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.BotAliasLocaleSettingsProperty
static final class
An implementation forCfnBot.BotAliasLocaleSettingsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Determines whether the locale is enabled for the bot.If the value is
false
, the locale isn't available for use. -
getCodeHookSpecification
Specifies the Lambda function that should be used in the locale. -
builder
-