interface SpeechRecognitionSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SpeechRecognitionSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SpeechRecognitionSettingsProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SpeechRecognitionSettingsProperty |
Python | aws_cdk.aws_lex.CfnBot.SpeechRecognitionSettingsProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » SpeechRecognitionSettingsProperty |
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 speechRecognitionSettingsProperty: lex.CfnBot.SpeechRecognitionSettingsProperty = {
speechModelConfig: {
deepgramConfig: {
apiTokenSecretArn: 'apiTokenSecretArn',
// the properties below are optional
modelId: 'modelId',
},
},
speechModelPreference: 'speechModelPreference',
};
Properties
| Name | Type | Description |
|---|---|---|
| speech | IResolvable | Speech | |
| speech | string |
speechModelConfig?
Type:
IResolvable | Speech
(optional)
speechModelPreference?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript