Class CfnBotAlias.BotAliasLocaleSettingsProperty
Specifies settings that are unique to a locale.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBotAlias.BotAliasLocaleSettingsProperty : CfnBotAlias.IBotAliasLocaleSettingsProperty
Syntax (vb)
Public Class CfnBotAlias.BotAliasLocaleSettingsProperty Implements CfnBotAlias.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() | Specifies settings that are unique to a locale. |
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()
Specifies settings that are unique to a locale.
public BotAliasLocaleSettingsProperty()
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"
}
}
};
Properties
CodeHookSpecification
Specifies the Lambda function that should be used in the locale.
public object? CodeHookSpecification { get; set; }
Property Value
Remarks
Enabled
Determines whether the locale is enabled for the bot.
public object Enabled { get; set; }
Property Value
Remarks
If the value is false , the locale isn't available for use.
Type union: either bool or IResolvable