# MultiRegionPropertiesProperty

Struct · External

Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.

- Source: Generated at build time
- Type last changed: v2.201.0 · 13 Jun 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_dsql as dsql } from 'aws-cdk-lib';
const multiRegionPropertiesProperty: dsql.CfnCluster.MultiRegionPropertiesProperty = {
  clusters: ['clusters'],
  witnessRegion: 'witnessRegion',
};
```

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_dsql as dsql

multi_region_properties_property = dsql.CfnCluster.MultiRegionPropertiesProperty(
    clusters=["clusters"],
    witness_region="witnessRegion"
)
```

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

MultiRegionPropertiesProperty multiRegionPropertiesProperty = MultiRegionPropertiesProperty.builder()
        .clusters(List.of("clusters"))
        .witnessRegion("witnessRegion")
        .build();
```

C#:

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

var multiRegionPropertiesProperty = new MultiRegionPropertiesProperty {
    Clusters = new [] { "clusters" },
    WitnessRegion = "witnessRegion"
};
```

Go:

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

multiRegionPropertiesProperty := &MultiRegionPropertiesProperty{
	Clusters: []*string{
		jsii.String("clusters"),
	},
	WitnessRegion: jsii.String("witnessRegion"),
}
```

## Properties

- `clusters`: string[] — The set of peered clusters that form the multi-Region cluster configuration.

  Each peered cluster represents a database instance in a different Region.

- `witnessRegion`: string — The Region that serves as the witness Region for a multi-Region cluster.

  The witness Region helps maintain cluster consistency and quorum.
