You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::HostedZone

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A complex type that contains general information about the hosted zone.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#caller_referenceString

The value that you specified for CallerReference when you created the hosted zone.

Returns:

  • (String)

    The value that you specified for CallerReference when you created the hosted zone.

#configTypes::HostedZoneConfig

A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don\'t appear in the response.

Returns:

#idString

The ID that Amazon Route 53 assigned to the hosted zone when you created it.

Returns:

  • (String)

    The ID that Amazon Route 53 assigned to the hosted zone when you created it.

#linked_serviceTypes::LinkedService

If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can\'t edit or delete it using Amazon Route 53.

Returns:

  • (Types::LinkedService)

    If the hosted zone was created by another service, the service that created the hosted zone.

#nameString

The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

Returns:

  • (String)

    The name of the domain.

#resource_record_set_countInteger

The number of resource record sets in the hosted zone.

Returns:

  • (Integer)

    The number of resource record sets in the hosted zone.