AudioStandardExtractionProperty Struct
Settings for generating data from audio.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const audioStandardExtractionProperty: bedrock.CfnDataAutomationProject.AudioStandardExtractionProperty = {
category: {
state: 'state',
// the properties below are optional
typeConfiguration: {
transcript: {
channelLabeling: {
state: 'state',
},
speakerLabeling: {
state: 'state',
},
},
},
types: ['types'],
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
audio_standard_extraction_property = bedrock.CfnDataAutomationProject.AudioStandardExtractionProperty(
category=bedrock.CfnDataAutomationProject.AudioExtractionCategoryProperty(
state="state",
# the properties below are optional
type_configuration=bedrock.CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationProperty(
transcript=bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
state="state"
),
speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
state="state"
)
)
),
types=["types"]
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
AudioStandardExtractionProperty audioStandardExtractionProperty = AudioStandardExtractionProperty.builder()
.category(AudioExtractionCategoryProperty.builder()
.state("state")
// the properties below are optional
.typeConfiguration(AudioExtractionCategoryTypeConfigurationProperty.builder()
.transcript(TranscriptConfigurationProperty.builder()
.channelLabeling(ChannelLabelingConfigurationProperty.builder()
.state("state")
.build())
.speakerLabeling(SpeakerLabelingConfigurationProperty.builder()
.state("state")
.build())
.build())
.build())
.types(List.of("types"))
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var audioStandardExtractionProperty = new AudioStandardExtractionProperty {
Category = new AudioExtractionCategoryProperty {
State = "state",
// the properties below are optional
TypeConfiguration = new AudioExtractionCategoryTypeConfigurationProperty {
Transcript = new TranscriptConfigurationProperty {
ChannelLabeling = new ChannelLabelingConfigurationProperty {
State = "state"
},
SpeakerLabeling = new SpeakerLabelingConfigurationProperty {
State = "state"
}
}
},
Types = new [] { "types" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
audioStandardExtractionProperty := &AudioStandardExtractionProperty{
Category: &AudioExtractionCategoryProperty{
State: jsii.String("state"),
// the properties below are optional
TypeConfiguration: &AudioExtractionCategoryTypeConfigurationProperty{
Transcript: &TranscriptConfigurationProperty{
ChannelLabeling: &ChannelLabelingConfigurationProperty{
State: jsii.String("state"),
},
SpeakerLabeling: &SpeakerLabelingConfigurationProperty{
State: jsii.String("state"),
},
},
},
Types: []*string{
jsii.String("types"),
},
},
}
Properties
categoryIResolvable | CfnDataAutomationProject.AudioExtractionCategoryPropertycategorytyping.Union[IResolvable, AudioExtractionCategoryProperty]categoryIResolvableCategoryIResolvableCategoryinterface{}required#Settings for generating data from audio.