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

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

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#caller_referenceString

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

Returns:

  • (String)


2615
2616
2617
2618
2619
2620
2621
2622
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2615

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count)
  include Aws::Structure
end

#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.



2615
2616
2617
2618
2619
2620
2621
2622
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2615

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count)
  include Aws::Structure
end

#idString

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

Returns:

  • (String)


2615
2616
2617
2618
2619
2620
2621
2622
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2615

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count)
  include Aws::Structure
end

#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)


2615
2616
2617
2618
2619
2620
2621
2622
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2615

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count)
  include Aws::Structure
end

#resource_record_set_countInteger

The number of resource record sets in the hosted zone.

Returns:

  • (Integer)


2615
2616
2617
2618
2619
2620
2621
2622
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2615

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count)
  include Aws::Structure
end