Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateGlobalReplicationGroupCommand

Global Datastore for Redis offers fully managed, fast, reliable and secure cross-region replication. Using Global Datastore for Redis, you can create cross-region read replica clusters for ElastiCache for Redis to enable low-latency reads and disaster recovery across regions. For more information, see Replication Across Regions Using Global Datastore.

  • The GlobalReplicationGroupIdSuffix is the name of the Global datastore.

  • The PrimaryReplicationGroupId represents the name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.

example

Use a bare-bones client and the command you need to make an API call.

import { ElastiCacheClient, CreateGlobalReplicationGroupCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
// const { ElastiCacheClient, CreateGlobalReplicationGroupCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
const client = new ElastiCacheClient(config);
const command = new CreateGlobalReplicationGroupCommand(input);
const response = await client.send(command);
see

CreateGlobalReplicationGroupCommandInput for command's input shape.

see

CreateGlobalReplicationGroupCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateGlobalReplicationGroupCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions