interface PromptAttemptSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.PromptAttemptSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_PromptAttemptSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.PromptAttemptSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.PromptAttemptSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const promptAttemptSpecificationProperty: lex_mixins.CfnBotPropsMixin.PromptAttemptSpecificationProperty = {
allowedInputTypes: {
allowAudioInput: false,
allowDtmfInput: false,
},
allowInterrupt: false,
audioAndDtmfInputSpecification: {
audioSpecification: {
endTimeoutMs: 123,
maxLengthMs: 123,
},
dtmfSpecification: {
deletionCharacter: 'deletionCharacter',
endCharacter: 'endCharacter',
endTimeoutMs: 123,
maxLength: 123,
},
startTimeoutMs: 123,
},
textInputSpecification: {
startTimeoutMs: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| allow | boolean | IResolvable | Indicates whether the user can interrupt a speech prompt attempt from the bot. |
| allowed | IResolvable | Allowed | Indicates the allowed input types of the prompt attempt. |
| audio | IResolvable | Audio | Specifies the settings on audio and DTMF input. |
| text | IResolvable | Text | Specifies the settings on text input. |
allowInterrupt?
Type:
boolean | IResolvable
(optional)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
allowedInputTypes?
Type:
IResolvable | Allowed
(optional)
Indicates the allowed input types of the prompt attempt.
audioAndDtmfInputSpecification?
Type:
IResolvable | Audio
(optional)
Specifies the settings on audio and DTMF input.
textInputSpecification?
Type:
IResolvable | Text
(optional)
Specifies the settings on text input.

.NET
Go
Java
Python
TypeScript