Paws::Route53::AssociateVPCWithHostedZone - Arguments for method AssociateVPCWithHostedZone on Paws::Route53


This class represents the parameters used for calling the method AssociateVPCWithHostedZone on the Amazon Route 53 service. Use the attributes of this class as arguments to method AssociateVPCWithHostedZone.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateVPCWithHostedZone.


    my $route53 = Paws->service('Route53');
    my $AssociateVPCWithHostedZoneResponse =
      HostedZoneId => 'MyResourceId',
      VPC          => {
        VPCId     => 'MyVPCId',    # max: 1024; OPTIONAL
        VPCRegion => 'us-east-1'
        , # values: us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-southeast-1, ap-southeast-2, ap-south-1, ap-northeast-1, ap-northeast-2, ap-northeast-3, eu-north-1, sa-east-1, ca-central-1, cn-north-1min: 1, max: 64; OPTIONAL
      Comment => 'MyAssociateVPCComment',    # OPTIONAL

    # Results:
    my $ChangeInfo = $AssociateVPCWithHostedZoneResponse->ChangeInfo;

    # Returns a L<Paws::Route53::AssociateVPCWithHostedZoneResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


Comment => Str

Optional: A comment about the association request.

REQUIRED HostedZoneId => Str

The ID of the private hosted zone that you want to associate an Amazon VPC with.

Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.

REQUIRED VPC => Paws::Route53::VPC

A complex type that contains information about the VPC that you want to associate with a private hosted zone.


This class forms part of Paws, documenting arguments for method AssociateVPCWithHostedZone in Paws::Route53


The source code is located here:

Please report bugs to: