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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotAlias.BotAliasLocaleSettingsItemPropertystatic final classAn implementation forCfnBotAlias.BotAliasLocaleSettingsItemProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies settings that are unique to a locale.The unique identifier of the locale.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBotAliasLocaleSetting
Specifies settings that are unique to a locale.Returns union: either
IResolvableorCfnBotAlias.BotAliasLocaleSettingsProperty- See Also:
-
getLocaleId
The unique identifier of the locale.- See Also:
-
builder
-