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)


2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2933

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count,
  :linked_service)
  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.



2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2933

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

#idString

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

Returns:

  • (String)


2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2933

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

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



2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2933

class HostedZone < Struct.new(
  :id,
  :name,
  :caller_reference,
  :config,
  :resource_record_set_count,
  :linked_service)
  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)


2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2933

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

#resource_record_set_countInteger

The number of resource record sets in the hosted zone.

Returns:

  • (Integer)


2933
2934
2935
2936
2937
2938
2939
2940
2941
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 2933

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