Skip to content
v2.274.0

SpeechFoundationModelProperty Struct ​

Configuration for a foundation model used for speech synthesis and recognition capabilities.

Example ​

ts
// 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 ​

modelArnstringmodel_arnstrmodelArnStringModelArnstringModelArn*stringrequired#
voiceIdstringvoice_idstrvoiceIdStringVoiceIdstringVoiceId*string#
The identifier of the voice to use for speech synthesis with the foundation model.