This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AWS.Route53.
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
- IRoute53Manager
Syntax
Task<string> CreateHostedZone(string domain, string vpc, VPCRegion region, Route53Settings settings, CancellationToken cancellationToken = null)
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 |