Interface CfnDBCluster.IReadEndpointProperty
The ReadEndpoint
return value specifies the reader endpoint for the DB cluster.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IReadEndpointProperty
Syntax (vb)
Public Interface IReadEndpointProperty
Remarks
The reader endpoint for a DB cluster load-balances connections across the Aurora Replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Aurora distributes the connection requests among the Aurora Replicas in the DB cluster. This functionality can help balance your read workload across multiple Aurora Replicas in your DB cluster.
If a failover occurs, and the Aurora Replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Aurora Replicas in the cluster, you can then reconnect to the reader endpoint.
For more information about Aurora endpoints, see Amazon Aurora connection management in the Amazon Aurora User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var readEndpointProperty = new ReadEndpointProperty {
Address = "address"
};
Synopsis
Properties
Address | The host address of the reader endpoint. |
Properties
Address
The host address of the reader endpoint.
virtual string Address { get; }
Property Value
System.String