# GlobalReplicationGroupMemberProperty

A member of a Global datastore.

It contains the Replication Group Id, the Amazon region and the role of the replication group.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticache as elasticache } from 'aws-cdk-lib';
const globalReplicationGroupMemberProperty: elasticache.CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty = {
  replicationGroupId: 'replicationGroupId',
  replicationGroupRegion: 'replicationGroupRegion',
  role: 'role',
};
```

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_elasticache as elasticache

global_replication_group_member_property = elasticache.CfnGlobalReplicationGroup.GlobalReplicationGroupMemberProperty(
    replication_group_id="replicationGroupId",
    replication_group_region="replicationGroupRegion",
    role="role"
)
```

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

GlobalReplicationGroupMemberProperty globalReplicationGroupMemberProperty = GlobalReplicationGroupMemberProperty.builder()
        .replicationGroupId("replicationGroupId")
        .replicationGroupRegion("replicationGroupRegion")
        .role("role")
        .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.ElastiCache;

var globalReplicationGroupMemberProperty = new GlobalReplicationGroupMemberProperty {
    ReplicationGroupId = "replicationGroupId",
    ReplicationGroupRegion = "replicationGroupRegion",
    Role = "role"
};
```

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"

globalReplicationGroupMemberProperty := &GlobalReplicationGroupMemberProperty{
	ReplicationGroupId: jsii.String("replicationGroupId"),
	ReplicationGroupRegion: jsii.String("replicationGroupRegion"),
	Role: jsii.String("role"),
}
```

## Properties

- `replicationGroupId`: string — The replication group id of the Global datastore member.

- `replicationGroupRegion`: string — The Amazon region of the Global datastore member.

- `role`: string — Indicates the role of the replication group, `PRIMARY` or `SECONDARY` .
