PrimaryEndpoint - Amazon Relational Database Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: