NAME
Paws::Route53::AssociateVPCWithHostedZone - Arguments for method AssociateVPCWithHostedZone on Paws::Route53
DESCRIPTION
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.
SYNOPSIS
my $route53 = Paws->service('Route53');
# To associate a VPC with a hosted zone
# The following example associates the VPC with ID vpc-1a2b3c4d with the hosted
# zone with ID Z3M3LMPEXAMPLE.
my $AssociateVPCWithHostedZoneResponse =
$route53->AssociateVPCWithHostedZone(
'Comment' => '',
'HostedZoneId' => 'Z3M3LMPEXAMPLE',
'VPC' => {
'VPCId' => 'vpc-1a2b3c4d',
'VPCRegion' => 'us-east-2'
}
);
# 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 https://docs.aws.amazon.com/goto/WebAPI/route53/AssociateVPCWithHostedZone
ATTRIBUTES
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.
SEE ALSO
This class forms part of Paws, documenting arguments for method AssociateVPCWithHostedZone in Paws::Route53
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues