Class CfnBot.MultipleValuesSettingProperty
Indicates whether a slot can return multiple values.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBot.MultipleValuesSettingProperty : CfnBot.IMultipleValuesSettingProperty
Syntax (vb)
Public Class CfnBot.MultipleValuesSettingProperty Implements CfnBot.IMultipleValuesSettingProperty
Remarks
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 multipleValuesSettingProperty = new MultipleValuesSettingProperty {
AllowMultipleValues = false
};
Synopsis
Constructors
MultipleValuesSettingProperty() | Indicates whether a slot can return multiple values. |
Properties
AllowMultipleValues | Indicates whether a slot can return multiple values. |
Constructors
MultipleValuesSettingProperty()
Indicates whether a slot can return multiple values.
public MultipleValuesSettingProperty()
Remarks
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 multipleValuesSettingProperty = new MultipleValuesSettingProperty {
AllowMultipleValues = false
};
Properties
AllowMultipleValues
Indicates whether a slot can return multiple values.
public object? AllowMultipleValues { get; set; }
Property Value
Remarks
When true
, the slot may return more than one value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in any other locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.