View a markdown version of this page

PrimaryEndpoint - Amazon Relational Database Service

PrimaryEndpoint

Contains the information you need to connect to the DB instance that currently has the primary role. The endpoint stays the same when the primary role moves to another DB instance, so you don't have to connect to a different DNS name after a switchover.

Contents

Note

In the following list, the required parameters are described first.

Address

Specifies the DNS address of the DB instance that currently has the primary role. This address doesn't change when the DB instance is renamed.

Type: String

Required: No

HostedZoneId

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: