interface SpeechFoundationModelProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.SpeechFoundationModelProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_SpeechFoundationModelProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SpeechFoundationModelProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.SpeechFoundationModelProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » CfnBotPropsMixin » 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/cfn-property-mixins';
const speechFoundationModelProperty: lex.CfnBotPropsMixin.SpeechFoundationModelProperty = {
modelArn: 'modelArn',
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
(optional)
voiceId?
Type:
string
(optional)
The identifier of the voice to use for speech synthesis with the foundation model.

.NET
Go
Java
Python
TypeScript