Skip to content
v2.278.0

AudioExtractionCategoryProperty 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 audioExtractionCategoryProperty: bedrock.CfnDataAutomationProject.AudioExtractionCategoryProperty = {
  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_extraction_category_property = 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.*;

AudioExtractionCategoryProperty audioExtractionCategoryProperty = 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();
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 audioExtractionCategoryProperty = 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"

audioExtractionCategoryProperty := &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 ​

statestringstatestrstateStringStatestringState*string required #
Whether generating categorical data from audio is enabled.
typeConfigurationoptionalIResolvable | CfnDataAutomationProject.AudioExtractionCategoryTypeConfigurationPropertytype_configurationoptionaltyping.Union[IResolvable, AudioExtractionCategoryTypeConfigurationProperty]typeConfigurationoptionalIResolvableTypeConfigurationoptionalIResolvableTypeConfigurationoptionalinterface{} #
This element contains information about extractions from different types.

Used to enable speaker and channel labeling for transcripts.

typesoptionalstring[]typesoptionaltyping.List[str]typesoptionalList<String>Typesoptionalstring[]Typesoptional*[]*string #
The types of data to generate.