interface VoiceSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.VoiceSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_VoiceSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.VoiceSettingsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.VoiceSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » VoiceSettingsProperty |
Defines settings for using an Amazon Polly voice to communicate with a user.
Valid values include:
standardneurallong-formgenerative
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 voiceSettingsProperty: lex_mixins.CfnBotPropsMixin.VoiceSettingsProperty = {
engine: 'engine',
voiceId: 'voiceId',
};
Properties
| Name | Type | Description |
|---|---|---|
| engine? | string | Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. |
| voice | 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 .
voiceId?
Type:
string
(optional)
The identifier of the Amazon Polly voice to use.

.NET
Go
Java
Python
TypeScript