# ModalityProcessingConfigurationProperty

This element is used to determine if the modality it is associated with is enabled or disabled.

All modalities are enabled by default.

- Source: Generated at build time
- Type last changed: v2.195.0 · 7 May 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 modalityProcessingConfigurationProperty: bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty = {
  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

modality_processing_configuration_property = bedrock.CfnDataAutomationProject.ModalityProcessingConfigurationProperty(
    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.*;

ModalityProcessingConfigurationProperty modalityProcessingConfigurationProperty = ModalityProcessingConfigurationProperty.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 modalityProcessingConfigurationProperty = new ModalityProcessingConfigurationProperty {
    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"

modalityProcessingConfigurationProperty := &ModalityProcessingConfigurationProperty{
	State: jsii.String("state"),
}
```

## Properties

- `state`: string — Stores the state of the modality for your project, set to either enabled or disabled.
