Class: Aws::RDS::Types::PrimaryEndpoint

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#address ⇒ String

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.

Returns:

  • (String)


24587
24588
24589
24590
24591
24592
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 24587

class PrimaryEndpoint < Struct.new(
  :address,
  :hosted_zone_id)
  SENSITIVE = []
  include Aws::Structure
end

#hosted_zone_id ⇒ String

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

Returns:

  • (String)


24587
24588
24589
24590
24591
24592
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 24587

class PrimaryEndpoint < Struct.new(
  :address,
  :hosted_zone_id)
  SENSITIVE = []
  include Aws::Structure
end