AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
Container for the parameters to the AssociateVPCWithHostedZone operation. This action associates a VPC with an hosted zone.

To associate a VPC with an hosted zone, send a POST request to the

            53 API version/hostedzone/hosted zone ID/associatevpc
resource. 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.

Inheritance Hierarchy


Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class AssociateVPCWithHostedZoneRequest : AmazonRoute53Request

The AssociateVPCWithHostedZoneRequest type exposes the following members



Public Property Comment System.String Gets and sets the property Comment.

Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest.

Public Property 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.

Public Property VPC Amazon.Route53.Model.VPC Gets and sets the property VPC.

The VPC that you want your hosted zone to be associated with.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8