Show / Hide Table of Contents

Class CfnBotAlias.BotAliasLocaleSettingsProperty

Specifies settings that are unique to a locale.

Inheritance
object
CfnBotAlias.BotAliasLocaleSettingsProperty
Implements
CfnBotAlias.IBotAliasLocaleSettingsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-botalias-botaliaslocalesettings.html

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-botalias-botaliaslocalesettings.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-botalias-botaliaslocalesettings.html#cfn-lex-botalias-botaliaslocalesettings-codehookspecification

Type union: either IResolvable or CfnBotAlias.ICodeHookSpecificationProperty

Enabled

Determines whether the locale is enabled for the bot.

public object Enabled { get; set; }
Property Value

object

Remarks

If the value is false , the locale isn't available for use.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-botalias-botaliaslocalesettings.html#cfn-lex-botalias-botaliaslocalesettings-enabled

Type union: either bool or IResolvable

Implements

CfnBotAlias.IBotAliasLocaleSettingsProperty
Back to top Generated by DocFX