Interface CfnBotPropsMixin.BotAliasLocaleSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotPropsMixin.BotAliasLocaleSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBotPropsMixin
@Stability(Stable)
public static interface CfnBotPropsMixin.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.cfnpropertymixins.services.lex.*;
BotAliasLocaleSettingsProperty botAliasLocaleSettingsProperty = BotAliasLocaleSettingsProperty.builder()
.codeHookSpecification(CodeHookSpecificationProperty.builder()
.lambdaCodeHook(LambdaCodeHookProperty.builder()
.codeHookInterfaceVersion("codeHookInterfaceVersion")
.lambdaArn("lambdaArn")
.build())
.build())
.enabled(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotPropsMixin.BotAliasLocaleSettingsPropertystatic final classAn implementation forCfnBotPropsMixin.BotAliasLocaleSettingsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodeHookSpecification
Specifies the Lambda function that should be used in the locale.Returns union: either
IResolvableorCfnBotPropsMixin.CodeHookSpecificationProperty- See Also:
-
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:
-
builder
-