Skip to content
v2.277.0

TranscriptConfigurationProperty Struct ​

Configuration for transcript options.

This option allows you to enable speaker labeling and channel labeling.

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 transcriptConfigurationProperty: bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty = {
  channelLabeling: {
    state: 'state',
  },
  speakerLabeling: {
    state: 'state',
  },
};
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

transcript_configuration_property = bedrock.CfnDataAutomationProject.TranscriptConfigurationProperty(
    channel_labeling=bedrock.CfnDataAutomationProject.ChannelLabelingConfigurationProperty(
        state="state"
    ),
    speaker_labeling=bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
        state="state"
    )
)
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.*;

TranscriptConfigurationProperty transcriptConfigurationProperty = TranscriptConfigurationProperty.builder()
        .channelLabeling(ChannelLabelingConfigurationProperty.builder()
                .state("state")
                .build())
        .speakerLabeling(SpeakerLabelingConfigurationProperty.builder()
                .state("state")
                .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 transcriptConfigurationProperty = new TranscriptConfigurationProperty {
    ChannelLabeling = new ChannelLabelingConfigurationProperty {
        State = "state"
    },
    SpeakerLabeling = new SpeakerLabelingConfigurationProperty {
        State = "state"
    }
};
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"

transcriptConfigurationProperty := &TranscriptConfigurationProperty{
	ChannelLabeling: &ChannelLabelingConfigurationProperty{
		State: jsii.String("state"),
	},
	SpeakerLabeling: &SpeakerLabelingConfigurationProperty{
		State: jsii.String("state"),
	},
}

Properties ​

channelLabelingoptionalIResolvable | CfnDataAutomationProject.ChannelLabelingConfigurationPropertychannel_labelingoptionaltyping.Union[IResolvable, ChannelLabelingConfigurationProperty]channelLabelingoptionalIResolvableChannelLabelingoptionalIResolvableChannelLabelingoptionalinterface{}#
Enables channel labeling.

Each audio channel will be labeled with a number, and the transcript will indicate which channel is being used.

speakerLabelingoptionalIResolvable | CfnDataAutomationProject.SpeakerLabelingConfigurationPropertyspeaker_labelingoptionaltyping.Union[IResolvable, SpeakerLabelingConfigurationProperty]speakerLabelingoptionalIResolvableSpeakerLabelingoptionalIResolvableSpeakerLabelingoptionalinterface{}#
Enables speaker labeling.

Each speaker within a transcript will recieve a number, and the transcript will note which speaker is talking.