interface AudioLanguageConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataAutomationProjectPropsMixin_AudioLanguageConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnDataAutomationProjectPropsMixin » AudioLanguageConfigurationProperty |
This allows you to set the input and output language of your audio.
The input language can be set to any of the languages supported by Bedrock Data Automation. The output can either be set to english or whatever the dominant language is of the audio, determined by the language spoken for the most seconds.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const audioLanguageConfigurationProperty: bedrock_mixins.CfnDataAutomationProjectPropsMixin.AudioLanguageConfigurationProperty = {
generativeOutputLanguage: 'generativeOutputLanguage',
identifyMultipleLanguages: false,
inputLanguages: ['inputLanguages'],
};
Properties
| Name | Type | Description |
|---|---|---|
| generative | string | The output language of your processing results. |
| identify | boolean | IResolvable | The toggle determining if you want to detect multiple languages from your audio. |
| input | string[] | The input language of your audio. |
generativeOutputLanguage?
Type:
string
(optional)
The output language of your processing results.
This can either be set to EN (English) or DEFAULT which will output the results in the dominant language of the audio. The dominant language is determined as the language in the audio, spoken the longest in the input audio.
identifyMultipleLanguages?
Type:
boolean | IResolvable
(optional)
The toggle determining if you want to detect multiple languages from your audio.
inputLanguages?
Type:
string[]
(optional)
The input language of your audio.
This can be set to any of the currently supported languages via the language codes.

.NET
Go
Java
Python
TypeScript