Route53Manager.

CreateHostedZone(string, string, VPCRegion, Route53Settings, CancellationToken) Method

Summary

Create a new hosted zone. 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.
Assembly
Cake.AWS.Route53.dll
Namespace
Cake.AWS.Route53
Containing Type
Route53Manager

Syntax

public Task<string> CreateHostedZone(string domain, string vpc, VPCRegion region, Route53Settings settings, CancellationToken cancellationToken = null)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
domain string The name of the domain
vpc string The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted cannot be resolved anywhere other than the given VPC.
region VPCRegion The region of your VPC
settings Route53Settings The Route53Settings required to connect to Route53.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type Description
Task<string>