Class CfnBot.BotAliasLocaleSettingsProperty
Specifies settings that are unique to a locale.
Inheritance
System.Object
CfnBot.BotAliasLocaleSettingsProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BotAliasLocaleSettingsProperty : Object, CfnBot.IBotAliasLocaleSettingsProperty
Syntax (vb)
Public Class BotAliasLocaleSettingsProperty
Inherits Object
Implements CfnBot.IBotAliasLocaleSettingsProperty
Remarks
For example, you can use different Lambda function depending on the bot's locale.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var botAliasLocaleSettingsProperty = new BotAliasLocaleSettingsProperty {
Enabled = false,
// the properties below are optional
CodeHookSpecification = new CodeHookSpecificationProperty {
LambdaCodeHook = new LambdaCodeHookProperty {
CodeHookInterfaceVersion = "codeHookInterfaceVersion",
LambdaArn = "lambdaArn"
}
}
};
Synopsis
Constructors
BotAliasLocaleSettingsProperty() |
Properties
CodeHookSpecification | Specifies the Lambda function that should be used in the locale. |
Enabled | Determines whether the locale is enabled for the bot. |
Constructors
BotAliasLocaleSettingsProperty()
public BotAliasLocaleSettingsProperty()
Properties
CodeHookSpecification
Specifies the Lambda function that should be used in the locale.
public object CodeHookSpecification { get; set; }
Property Value
System.Object
Remarks
Enabled
Determines whether the locale is enabled for the bot.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
If the value is false
, the locale isn't available for use.