AWS SDK for .NET Documentation
CreateHostedZoneRequest Class
AmazonAmazon.Route53.ModelCreateHostedZoneRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the CreateHostedZone operation.

This action creates a new hosted zone.

To create a new hosted zone, send a POST request to the 2013-04-01/hostedzone resource. The request body must include an XML document with a CreateHostedZoneRequest element. The response returns the CreateHostedZoneResponse element that contains metadata about the hosted zone.

Route 53 automatically creates a default SOA record and four NS records for the zone. The NS records in the hosted zone are the name servers you give your registrar to delegate your domain to. For more information about SOA and NS records, see NS and SOA Records that Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide .

When you create a zone, its initial status is PENDING . This means that it is not yet available on all DNS servers. The status of the zone changes to INSYNC when the NS and SOA records are available on all Route 53 DNS servers.

Declaration Syntax
public class CreateHostedZoneRequest : AmazonWebServiceRequest
All MembersConstructorsMethodsProperties

Initializes a new instance of the CreateHostedZoneRequest class

A unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you create a hosted zone. CallerReference can be any unique string; you might choose to use a string that identifies your project, such as DNSMigration_01. Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.


1 - 128

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
A complex type that contains an optional comment about your hosted zone.

The name of the domain. This must be a fully-specified domain, for example, The trailing dot is optional; Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats (without a trailing dot) and (with a trailing dot) as identical. This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.


0 - 1024

Returns a string that represents the current object.
(Inherited from Object.)
WithCallerReference(String) Obsolete.
Sets the CallerReference property

WithHostedZoneConfig(HostedZoneConfig) Obsolete.
Sets the HostedZoneConfig property

WithName(String) Obsolete.
Sets the Name property

Inheritance Hierarchy
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: (