1VM::EC2::VPC::PeeringCoUnsneerctCioonnt:r:iVbpuctVIeMnd:f:oPE(eC3r2)l::DVoPcCu:m:ePneteartiinognConnection::VpcInfo(3)
2
3
4
6 VM::EC2::VPC::PeeringConnection::VpcInfo - Virtual Private Cloud
7 Peering Connection VPC Information
8
10 use VM::EC2;
11
12 my $ec2 = VM::EC2->new(...);
13 my $pcx = $ec2->describe_vpc_peering_connections(-vpc_peering_connection_id=>'pcx-12345678');
14 my $req_vpc = $pcx->requesterVpcInfo;
15 my $acc_vpc = $pcx->accepterVpcInfo;
16 print $req_vpc->vpcId,' requested to connect to ',$acc_vpc->vpcId,"\n";
17
19 This object represents VPC Information from an Amazon EC2 VPC Peering
20 Connection.
21
23 These object methods are supported:
24
25 vpcId -- The ID of the VPC
26 ownerId -- The AWS account ID of the VPC owner
27 cidrBlock -- The CIDR block for the VPC
28
30 When used in a string context, this object will interpolate the VpcId
31
33 VM::EC2 VM::EC2::Generic VM::EC2::VPC
34
36 Lance Kinley <lkinley@loyaltymethods.com>.
37
38 Copyright (c) 2014 Loyalty Methods, Inc.
39
40 This package and its accompanying libraries is free software; you can
41 redistribute it and/or modify it under the terms of the GPL (either
42 version 1, or at your option, any later version) or the Artistic
43 License 2.0. Refer to LICENSE for the full license text. In addition,
44 please see DISCLAIMER.txt for disclaimers of warranty.
45
46
47
48perl v5.28.0 20V1M8:-:0E7C-21:5:VPC::PeeringConnection::VpcInfo(3)