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
Creates a DB instance for a DB instance running MySQL, MariaDB, or PostgreSQL that acts as a Read Replica of a source DB instance.

All Read Replica DB instances are created as Single-AZ deployments with backups disabled. All other DB instance attributes (including DB security groups and DB parameter groups) are inherited from the source DB instance, except as specified below.

The source DB instance must have backup retention enabled.

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


public abstract CreateDBInstanceReadReplicaResponse CreateDBInstanceReadReplica(
         CreateDBInstanceReadReplicaRequest request


Type: Amazon.RDS.Model.CreateDBInstanceReadReplicaRequest

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

Return Value
Type: Amazon.RDS.Model.CreateDBInstanceReadReplicaResponse
The response from the CreateDBInstanceReadReplica service method, as returned by RDS.


DBInstanceAlreadyExistsException User already has a DB instance with the given identifier.
DBInstanceNotFoundException DBInstanceIdentifier does not refer to an existing DB instance.
DBParameterGroupNotFoundException DBParameterGroupName does not refer to an existing DB parameter group.
DBSecurityGroupNotFoundException DBSecurityGroupName does not refer to an existing DB security group.
DBSubnetGroupDoesNotCoverEnoughAZsException Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.
DBSubnetGroupNotAllowedException Indicates that the DBSubnetGroup should not be specified while creating read replicas that lie in the same region as the source instance.
DBSubnetGroupNotFoundException DBSubnetGroupName does not refer to an existing DB subnet group.
InstanceQuotaExceededException Request would result in user exceeding the allowed number of DB instances.
InsufficientDBInstanceCapacityException Specified DB instance class is not available in the specified Availability Zone.
InvalidDBInstanceStateException The specified DB instance is not in the available state.
InvalidDBSubnetGroupException Indicates the DBSubnetGroup does not belong to the same VPC as that of an existing cross region read replica of the same source instance.
InvalidSubnetException The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
InvalidVPCNetworkStateException DB subnet group does not cover all Availability Zones after it is created because users' change.
KMSKeyNotAccessibleException Error accessing KMS key.
OptionGroupNotFoundException The specified option group could not be found.
ProvisionedIopsNotAvailableInAZException Provisioned IOPS not available in the specified Availability Zone.
StorageQuotaExceededException Request would result in user exceeding the allowed amount of storage available across all DB instances.
StorageTypeNotSupportedException StorageType specified cannot be associated with the DB Instance.

Version Information

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