interface PromptAttemptSpecificationProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Lex.CfnBot.PromptAttemptSpecificationProperty | 
|  Java | software.amazon.awscdk.services.lex.CfnBot.PromptAttemptSpecificationProperty | 
|  Python | aws_cdk.aws_lex.CfnBot.PromptAttemptSpecificationProperty | 
|  TypeScript | @aws-cdk/aws-lex»CfnBot»PromptAttemptSpecificationProperty | 
Specifies the settings on a prompt attempt.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lex from '@aws-cdk/aws-lex';
const promptAttemptSpecificationProperty: lex.CfnBot.PromptAttemptSpecificationProperty = {
  allowedInputTypes: {
    allowAudioInput: false,
    allowDtmfInput: false,
  },
  // the properties below are optional
  allowInterrupt: false,
  audioAndDtmfInputSpecification: {
    startTimeoutMs: 123,
    // the properties below are optional
    audioSpecification: {
      endTimeoutMs: 123,
      maxLengthMs: 123,
    },
    dtmfSpecification: {
      deletionCharacter: 'deletionCharacter',
      endCharacter: 'endCharacter',
      endTimeoutMs: 123,
      maxLength: 123,
    },
  },
  textInputSpecification: {
    startTimeoutMs: 123,
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| allowed | IResolvable | Allowed | Indicates the allowed input types of the prompt attempt. | 
| allow | boolean | IResolvable | Indicates whether the user can interrupt a speech prompt attempt from the bot. | 
| audio | IResolvable | Audio | Specifies the settings on audio and DTMF input. | 
| text | IResolvable | Text | Specifies the settings on text input. | 
allowedInputTypes
Type:
IResolvable | Allowed
Indicates the allowed input types of the prompt attempt.
allowInterrupt?
Type:
boolean | IResolvable
(optional)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
audioAndDtmfInputSpecification?
Type:
IResolvable | Audio
(optional)
Specifies the settings on audio and DTMF input.
textInputSpecification?
Type:
IResolvable | Text
(optional)
Specifies the settings on text input.
