Skip to content
v2.278.0

GlobalTableWitnessProperty Struct ​

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)

Example ​

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
# 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
// 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();
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
// 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 ​

regionoptionalstringregionoptionalstrregionoptionalStringRegionoptionalstringRegionoptional*string #
The name of the AWS Region that serves as a witness for the MRSC global table.