interface SpeechFoundationModelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SpeechFoundationModelProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SpeechFoundationModelProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SpeechFoundationModelProperty |
Python | aws_cdk.aws_lex.CfnBot.SpeechFoundationModelProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » SpeechFoundationModelProperty |
Configuration for a foundation model used for speech synthesis and recognition capabilities.
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 speechFoundationModelProperty: lex.CfnBot.SpeechFoundationModelProperty = {
modelArn: 'modelArn',
// the properties below are optional
voiceId: 'voiceId',
};
Properties
| Name | Type | Description |
|---|---|---|
| model | string | |
| voice | string | The identifier of the voice to use for speech synthesis with the foundation model. |
modelArn
Type:
string
voiceId?
Type:
string
(optional)
The identifier of the voice to use for speech synthesis with the foundation model.

.NET
Go
Java
Python
TypeScript