interface VoiceSettingsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.VoiceSettingsProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_VoiceSettingsProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.VoiceSettingsProperty |
![]() | aws_cdk.aws_lex.CfnBot.VoiceSettingsProperty |
![]() | aws-cdk-lib » aws_lex » CfnBot » VoiceSettingsProperty |
Defines settings for using an Amazon Polly voice to communicate with a user.
Valid values include:
standard
neural
long-form
generative
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-lib';
const voiceSettingsProperty: lex.CfnBot.VoiceSettingsProperty = {
voiceId: 'voiceId',
// the properties below are optional
engine: 'engine',
};
Properties
Name | Type | Description |
---|---|---|
voice | string | The identifier of the Amazon Polly voice to use. |
engine? | string | Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. |
voiceId
Type:
string
The identifier of the Amazon Polly voice to use.
engine?
Type:
string
(optional)
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
For more information, see the engine
parameter of the SynthesizeSpeech
operation in the Amazon Polly developer guide .
If you do not specify a value, the default is standard
.