Class CfnBot.MultipleValuesSettingProperty
Indicates whether a slot can return multiple values.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MultipleValuesSettingProperty : Object, CfnBot.IMultipleValuesSettingProperty
Syntax (vb)
Public Class MultipleValuesSettingProperty
Inherits Object
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
Multiple |
Properties
Allow |
Indicates whether a slot can return multiple values. |
Constructors
MultipleValuesSettingProperty()
public MultipleValuesSettingProperty()
Properties
AllowMultipleValues
Indicates whether a slot can return multiple values.
public object AllowMultipleValues { get; set; }
Property Value
System.
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
.