AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
The CreateReplicationGroup action creates a replication group. A replication group is a collection of cache clusters, where one of the cache clusters is a read/write primary and the others are read-only replicas. Writes to the primary are automatically propagated to the replicas.

When you create a replication group, you must specify an existing cache cluster that is in the primary role. When the replication group has been successfully created, you can add one or more read replica replicas to it, up to a total of five read replicas.

Note: This action is valid only for Redis.

Namespace: Amazon.ElastiCache
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CreateReplicationGroupResponse CreateReplicationGroup(
         CreateReplicationGroupRequest request
)

Parameters

request
Type: Amazon.ElastiCache.Model.CreateReplicationGroupRequest

Container for the necessary parameters to execute the CreateReplicationGroup service method.

Return Value
Type: Amazon.ElastiCache.Model.CreateReplicationGroupResponse
The response from the CreateReplicationGroup service method, as returned by ElastiCache.

Exceptions

ExceptionCondition
CacheClusterNotFoundException The requested cache cluster ID does not refer to an existing cache cluster.
CacheParameterGroupNotFoundException The requested cache parameter group name does not refer to an existing cache parameter group.
CacheSecurityGroupNotFoundException The requested cache security group name does not refer to an existing cache security group.
CacheSubnetGroupNotFoundException The requested cache subnet group name does not refer to an existing cache subnet group.
ClusterQuotaForCustomerExceededException The request cannot be processed because it would exceed the allowed number of cache clusters per customer.
InsufficientCacheClusterCapacityException The requested cache node type is not available in the specified Availability Zone.
InvalidCacheClusterStateException The requested cache cluster is not in the available state.
InvalidParameterCombinationException Two or more incompatible parameters were specified.
InvalidParameterValueException The value for a parameter is invalid.
InvalidVPCNetworkStateException The VPC network is in an invalid state.
NodeQuotaForClusterExceededException The request cannot be processed because it would exceed the allowed number of cache nodes in a single cache cluster.
NodeQuotaForCustomerExceededException The request cannot be processed because it would exceed the allowed number of cache nodes per customer.
ReplicationGroupAlreadyExistsException The specified replication group already exists.
TagQuotaPerResourceExceededException The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 10.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5