Interface CfnBotAlias.IBotAliasLocaleSettingsProperty
Specifies settings that are unique to a locale.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBotAliasLocaleSettingsProperty
Syntax (vb)
Public Interface 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
Properties
Code |
Specifies the Lambda function that should be used in the locale. |
Enabled | Determines whether the locale is enabled for the bot. |
Properties
CodeHookSpecification
Specifies the Lambda function that should be used in the locale.
virtual object CodeHookSpecification { get; }
Property Value
System.
Remarks
Enabled
Determines whether the locale is enabled for the bot.
object Enabled { get; }
Property Value
System.
Remarks
If the value is false
, the locale isn't available for use.