@Stability(value=Stable)
public static interface CfnBotAlias.BotAliasLocaleSettingsItemProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBotAlias.BotAliasLocaleSettingsItemProperty.Builder
A builder for
CfnBotAlias.BotAliasLocaleSettingsItemProperty |
static class |
CfnBotAlias.BotAliasLocaleSettingsItemProperty.Jsii$Proxy
An implementation for
CfnBotAlias.BotAliasLocaleSettingsItemProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBotAlias.BotAliasLocaleSettingsItemProperty.Builder |
builder() |
Object |
getBotAliasLocaleSetting()
Specifies settings that are unique to a locale.
|
String |
getLocaleId()
The unique identifier of the locale.
|
@Stability(value=Stable) @NotNull Object getBotAliasLocaleSetting()
@Stability(value=Stable) @NotNull String getLocaleId()
@Stability(value=Stable) static CfnBotAlias.BotAliasLocaleSettingsItemProperty.Builder builder()
Copyright © 2022. All rights reserved.