aws-cdk-lib.aws_lex.CfnBot.VoiceSettingsProperty

interface VoiceSettingsProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.VoiceSettingsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_VoiceSettingsProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.VoiceSettingsProperty
Pythonaws_cdk.aws_lex.CfnBot.VoiceSettingsProperty
TypeScript aws-cdk-lib » 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 { aws_lex as lex } from 'aws-cdk-lib';
const voiceSettingsProperty: lex.CfnBot.VoiceSettingsProperty = {
  voiceId: 'voiceId',

  // the properties below are optional
  engine: 'engine',
};

Properties

NameTypeDescription
voiceIdstringThe identifier of the Amazon Polly voice to use.
engine?stringIndicates 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 .