# SpeakerLabelingConfigurationProperty

Enables or disables speaker labeling.

Speaker labeling, when enabled will assign a number to each speaker, and indicate which speaker is talking in each portion of the transcript. This appears in the response as "spk_0" for the first speaker, "spk_1" for the second, and so on for up to 30 speakers.

- Source: Generated at build time
- Type last changed: v2.219.0 · 1 Oct 2025

## Example

TypeScript:

```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 speakerLabelingConfigurationProperty: bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty = {
  state: 'state',
};
```

Python:

```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

speaker_labeling_configuration_property = bedrock.CfnDataAutomationProject.SpeakerLabelingConfigurationProperty(
    state="state"
)
```

Java:

```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.*;

SpeakerLabelingConfigurationProperty speakerLabelingConfigurationProperty = SpeakerLabelingConfigurationProperty.builder()
        .state("state")
        .build();
```

C# / .NET:

```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 speakerLabelingConfigurationProperty = new SpeakerLabelingConfigurationProperty {
    State = "state"
};
```

Golang:

```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"

speakerLabelingConfigurationProperty := &SpeakerLabelingConfigurationProperty{
	State: jsii.String("state"),
}
```

## Properties

- `state`: string (required) — State of speaker labeling, either enabled or disabled.
