Class CfnBot.VoiceSettingsProperty
Defines settings for using an Amazon Polly voice to communicate with a user.
Inheritance
System.Object
CfnBot.VoiceSettingsProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class VoiceSettingsProperty : Object, CfnBot.IVoiceSettingsProperty
Syntax (vb)
Public Class VoiceSettingsProperty
Inherits Object
Implements CfnBot.IVoiceSettingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var voiceSettingsProperty = new VoiceSettingsProperty {
VoiceId = "voiceId",
// the properties below are optional
Engine = "engine"
};
Synopsis
Constructors
VoiceSettingsProperty() |
Properties
Engine | Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. |
VoiceId | The identifier of the Amazon Polly voice to use. |
Constructors
VoiceSettingsProperty()
public VoiceSettingsProperty()
Properties
Engine
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
public string Engine { get; set; }
Property Value
System.String
Remarks
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
The identifier of the Amazon Polly voice to use.
public string VoiceId { get; set; }
Property Value
System.String