Interface CfnBot.IPromptAttemptSpecificationProperty
Specifies the settings on a prompt attempt.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface IPromptAttemptSpecificationProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AllowedInputTypes
Indicates the allowed input types of the prompt attempt.
object AllowedInputTypes { get; }
Property Value
System.Object
Remarks
AllowInterrupt
Indicates whether the user can interrupt a speech prompt attempt from the bot.
virtual object AllowInterrupt { get; }
Property Value
System.Object
Remarks
AudioAndDtmfInputSpecification
Specifies the settings on audio and DTMF input.
virtual object AudioAndDtmfInputSpecification { get; }
Property Value
System.Object
Remarks
TextInputSpecification
Specifies the settings on text input.
virtual object TextInputSpecification { get; }
Property Value
System.Object