Class CfnBot.PromptAttemptSpecificationProperty
Specifies the settings on a prompt attempt.
Inheritance
System.Object
CfnBot.PromptAttemptSpecificationProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class PromptAttemptSpecificationProperty : Object, CfnBot.IPromptAttemptSpecificationProperty
Syntax (vb)
Public Class PromptAttemptSpecificationProperty
Inherits Object
Implements CfnBot.IPromptAttemptSpecificationProperty
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 promptAttemptSpecificationProperty = new PromptAttemptSpecificationProperty {
AllowedInputTypes = new AllowedInputTypesProperty {
AllowAudioInput = false,
AllowDtmfInput = false
},
// the properties below are optional
AllowInterrupt = false,
AudioAndDtmfInputSpecification = new AudioAndDTMFInputSpecificationProperty {
StartTimeoutMs = 123,
// the properties below are optional
AudioSpecification = new AudioSpecificationProperty {
EndTimeoutMs = 123,
MaxLengthMs = 123
},
DtmfSpecification = new DTMFSpecificationProperty {
DeletionCharacter = "deletionCharacter",
EndCharacter = "endCharacter",
EndTimeoutMs = 123,
MaxLength = 123
}
},
TextInputSpecification = new TextInputSpecificationProperty {
StartTimeoutMs = 123
}
};
Synopsis
Constructors
PromptAttemptSpecificationProperty() |
Properties
AllowedInputTypes | Indicates the allowed input types of the prompt attempt. |
AllowInterrupt | Indicates whether the user can interrupt a speech prompt attempt from the bot. |
AudioAndDtmfInputSpecification | Specifies the settings on audio and DTMF input. |
TextInputSpecification | Specifies the settings on text input. |
Constructors
PromptAttemptSpecificationProperty()
public PromptAttemptSpecificationProperty()
Properties
AllowedInputTypes
Indicates the allowed input types of the prompt attempt.
public object AllowedInputTypes { get; set; }
Property Value
System.Object
Remarks
AllowInterrupt
Indicates whether the user can interrupt a speech prompt attempt from the bot.
public object AllowInterrupt { get; set; }
Property Value
System.Object
Remarks
AudioAndDtmfInputSpecification
Specifies the settings on audio and DTMF input.
public object AudioAndDtmfInputSpecification { get; set; }
Property Value
System.Object
Remarks
TextInputSpecification
Specifies the settings on text input.
public object TextInputSpecification { get; set; }
Property Value
System.Object