Skip to content
v2.277.0

GlobalReplicationGroupMemberProperty Struct ​

A member of a Global datastore.

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

Example ​

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

replicationGroupIdoptionalstringreplication_group_idoptionalstrreplicationGroupIdoptionalStringReplicationGroupIdoptionalstringReplicationGroupIdoptional*string#
The replication group id of the Global datastore member.
replicationGroupRegionoptionalstringreplication_group_regionoptionalstrreplicationGroupRegionoptionalStringReplicationGroupRegionoptionalstringReplicationGroupRegionoptional*string#
The Amazon region of the Global datastore member.
roleoptionalstringroleoptionalstrroleoptionalStringRoleoptionalstringRoleoptional*string#
Indicates the role of the replication group, `PRIMARY` or `SECONDARY` .