interface VoiceSettingsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.VoiceSettingsProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.VoiceSettingsProperty |
Python | aws_cdk.aws_lex.CfnBot.VoiceSettingsProperty |
TypeScript | @aws-cdk/aws-lex » CfnBot » VoiceSettingsProperty |
Defines settings for using an Amazon Polly voice to communicate with a user.
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 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
.