interface PromptAttemptSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.PromptAttemptSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_PromptAttemptSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.PromptAttemptSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.PromptAttemptSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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 { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const promptAttemptSpecificationProperty: lex.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