Interface CfnBotAlias.IBotAliasLocaleSettingsItemProperty
Specifies settings that are unique to a locale.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface IBotAliasLocaleSettingsItemProperty
Syntax (vb)
Public Interface 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
Properties
BotAliasLocaleSetting | Specifies settings that are unique to a locale. |
LocaleId | The unique identifier of the locale. |
Properties
BotAliasLocaleSetting
Specifies settings that are unique to a locale.
object BotAliasLocaleSetting { get; }
Property Value
System.Object
Remarks
LocaleId
The unique identifier of the locale.
string LocaleId { get; }
Property Value
System.String