Class CfnBotAlias.BotAliasLocaleSettingsItemProperty
Specifies settings that are unique to a locale.
Inheritance
System.Object
CfnBotAlias.BotAliasLocaleSettingsItemProperty
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class BotAliasLocaleSettingsItemProperty : Object, CfnBotAlias.IBotAliasLocaleSettingsItemProperty
Syntax (vb)
Public Class BotAliasLocaleSettingsItemProperty
Inherits Object
Implements CfnBotAlias.IBotAliasLocaleSettingsItemProperty
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 botAliasLocaleSettingsItemProperty = new BotAliasLocaleSettingsItemProperty {
BotAliasLocaleSetting = new BotAliasLocaleSettingsProperty {
Enabled = false,
// the properties below are optional
CodeHookSpecification = new CodeHookSpecificationProperty {
LambdaCodeHook = new LambdaCodeHookProperty {
CodeHookInterfaceVersion = "codeHookInterfaceVersion",
LambdaArn = "lambdaArn"
}
}
},
LocaleId = "localeId"
};
Synopsis
Constructors
BotAliasLocaleSettingsItemProperty() |
Properties
BotAliasLocaleSetting | Specifies settings that are unique to a locale. |
LocaleId | The unique identifier of the locale. |
Constructors
BotAliasLocaleSettingsItemProperty()
public BotAliasLocaleSettingsItemProperty()
Properties
BotAliasLocaleSetting
Specifies settings that are unique to a locale.
public object BotAliasLocaleSetting { get; set; }
Property Value
System.Object
Remarks
LocaleId
The unique identifier of the locale.
public string LocaleId { get; set; }
Property Value
System.String