@Stability(value=Stable)
public static interface CfnBot.BotAliasLocaleSettingsProperty
extends software.amazon.jsii.JsiiSerializable
For example, you can use a different Lambda function for each 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.BotAliasLocaleSettingsProperty.Builder
A builder for
CfnBot.BotAliasLocaleSettingsProperty |
static class |
CfnBot.BotAliasLocaleSettingsProperty.Jsii$Proxy
An implementation for
CfnBot.BotAliasLocaleSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.BotAliasLocaleSettingsProperty.Builder |
builder() |
default Object |
getCodeHookSpecification()
Specifies the Lambda function to use in this locale.
|
Object |
getEnabled()
Specifies whether the locale is enabled for the bot.
|
@Stability(value=Stable) @NotNull Object getEnabled()
If the value is false, the locale isn't available for use.
@Stability(value=Stable) @Nullable default Object getCodeHookSpecification()
@Stability(value=Stable) static CfnBot.BotAliasLocaleSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.