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.
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)
public abstract CreateReplicationGroupResponse CreateReplicationGroup( CreateReplicationGroupRequest request )
Container for the necessary parameters to execute the CreateReplicationGroup service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5