# GlobalTableWitnessProperty

Struct · External

The witness Region for the MRSC global table.

A MRSC global table can be configured with either three replicas, or with two replicas and one witness.

The witness must be in a different Region than the replicas and within the same Region set:

- US Region set: US East (N. Virginia), US East (Ohio), US West (Oregon)
- EU Region set: Europe (Ireland), Europe (London), Europe (Paris), Europe (Frankfurt)
- AP Region set: Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Osaka)

- Source: Generated at build time
- Type last changed: v2.205.0 · 15 Jul 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_dynamodb as dynamodb } from 'aws-cdk-lib';
const globalTableWitnessProperty: dynamodb.CfnGlobalTable.GlobalTableWitnessProperty = {
  region: 'region',
};
```

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_dynamodb as dynamodb

global_table_witness_property = dynamodb.CfnGlobalTable.GlobalTableWitnessProperty(
    region="region"
)
```

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

GlobalTableWitnessProperty globalTableWitnessProperty = GlobalTableWitnessProperty.builder()
        .region("region")
        .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.DynamoDB;

var globalTableWitnessProperty = new GlobalTableWitnessProperty {
    Region = "region"
};
```

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"

globalTableWitnessProperty := &GlobalTableWitnessProperty{
	Region: jsii.String("region"),
}
```

## Properties

- `region`: string — The name of the AWS Region that serves as a witness for the MRSC global table.
