AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
To associate a VPC with an hosted zone, send a POST
request to the
/Route 53 API version/hostedzone/hosted zone ID/associatevpcresource. The request body must include a document with a
AssociateVPCWithHostedZoneRequest
element. The response returns the AssociateVPCWithHostedZoneResponse
element that contains ChangeInfo
for you to track the progress of the
AssociateVPCWithHostedZoneRequest
you made. See GetChange
operation for how to track the progress of your change.
Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class AssociateVPCWithHostedZoneRequest : AmazonRoute53Request IRequestEvents
The AssociateVPCWithHostedZoneRequest type exposes the following members
Name | Description | |
---|---|---|
AssociateVPCWithHostedZoneRequest() |
Name | Type | Description | |
---|---|---|---|
Comment | System.String |
Gets and sets the property Comment.
Optional: Any comments you want to include about a |
|
HostedZoneId | System.String |
Gets and sets the property HostedZoneId.
The ID of the hosted zone you want to associate your VPC with. Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association. |
|
VPC | Amazon.Route53.Model.VPC |
Gets and sets the property VPC.
The VPC that you want your hosted zone to be associated with. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8