1VM::EC2::VPC::PeeringCoUnsneerctCioonnt(r3i)buted Perl DVoMc:u:mEeCn2t:a:tViPoCn::PeeringConnection(3)
2
3
4
6 VM::EC2::VPC::PeeringConnection - Virtual Private Cloud Peering
7 Connection
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 $status = $pcx->status;
15
17 This object represents an Amazon EC2 VPC peering connection, and is
18 returned by VM::EC2->describe_vpc_peering_connections(),
19 create_vpc_peering_connection(), and accept_vpc_peering_connection().
20
22 These object methods are supported:
23
24 vpcPeeringConnectionId -- The ID of the VPC peering connection
25 requesterVpcInfo -- Information about the requester VPC
26 accepterVpcInfo -- Information about the accepter VPC
27 status -- The status of the VPC peering connection
28 expirationTime -- The time that an unaccepted VPC peering
29 connection will expire
30 tagSet -- Tags assigned to the resource.
31
32 The following convenience methods are provided:
33
34 accept -- Accepts the peering connection request.
35 NOTE: must be in the 'pending-acceptance'
36 state to be successful
37
38 reject -- Rejects the peering connection request.
39 NOTE: must be in the 'pending-acceptance'
40 state to be successful
41
42 refresh -- Refreshes the object
43
44 current_status -- Refreshes the object and returns the
45 status. Useful for checking status
46 after calling reject() or accept()
47
48 The object also supports the tags() method described in
49 VM::EC2::Generic:
50
52 When used in a string context, this object will interpolate the
53 vpcPeeringConnectionId
54
56 VM::EC2 VM::EC2::Generic VM::EC2::Tag VM::EC2::VPC
57
59 Lance Kinley <lkinley@loyaltymethods.com>.
60
61 Copyright (c) 2014 Loyalty Methods, Inc.
62
63 This package and its accompanying libraries is free software; you can
64 redistribute it and/or modify it under the terms of the GPL (either
65 version 1, or at your option, any later version) or the Artistic
66 License 2.0. Refer to LICENSE for the full license text. In addition,
67 please see DISCLAIMER.txt for disclaimers of warranty.
68
69
70
71perl v5.34.0 2021-07-27VM::EC2::VPC::PeeringConnection(3)