Interface CfnBotAlias.BotAliasLocaleSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotAlias.BotAliasLocaleSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBotAlias
@Stability(Stable)
public static interface CfnBotAlias.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotAlias.BotAliasLocaleSettingsPropertystatic final classAn implementation forCfnBotAlias.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.Returns union: either
BooleanorIResolvable- See Also:
-
getCodeHookSpecification
Specifies the Lambda function that should be used in the locale.Returns union: either
IResolvableorCfnBotAlias.CodeHookSpecificationProperty- See Also:
-
builder
-