1VM::EC2::VPC::VpnConnecUtsieorn(C3o)ntributed Perl DocumVeMn:t:aEtCi2o:n:VPC::VpnConnection(3)
2
3
4
6 VM::EC2::VPC::VpnConnection - VPC VPN connection
7
9 use VM::EC2;
10
11 my $ec2 = VM::EC2->new(...);
12 my $vpn = $ec2->describe_vpn_connections(-vpn_connection_id=>'vpn-12345678');
13 my $state = $vpn->state;
14 my $vpn_gateway = $vpn->vpn_gateway;
15 my $customer_gateway = $vpn->customer_gateway;
16
18 This object represents an Amazon EC2 VPC VPN connection, and is
19 returned by VM::EC2->describe_vpn_connections()
20
22 These object methods are supported:
23
24 vpnConnectionId -- The ID of the VPN connection.
25 state -- The current state of the VPN connection.
26 Valid values: pending | available | deleting | deleted
27 customerGatewayConfiguration -- Configuration information for the VPN connection's
28 customer gateway (in the native XML format). This
29 element is always present in the CreateVpnConnection
30 response; however, it's present in the
31 DescribeVpnConnections response only if the VPN
32 connection is in the pending or available state.
33 type -- The type of VPN connection (ipsec.1)
34 customerGatewayId -- ID of the customer gateway at your end of the VPN
35 connection.
36 vpnGatewayId -- ID of the virtual private gateway at the VPC end of
37 the VPN connection.
38 tagSet -- Tags assigned to the resource.
39 vgwTelemetry -- Information about the virtual private gateway.
40 vpn_telemetry -- Alias for vgwTelemetry
41
42 The following convenience methods are supported:
43
44 vpn_gateway -- Returns a L<VM::EC2::VPC::VpnGateway> object
45
46 customer_gateway -- Returns a L<VM::EC2::VPC::CustomerGateway> object
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 vpnConnectionId.
54
56 VM::EC2 VM::EC2::Generic VM::EC2::Tag VM::EC2::VPC
57 VM::EC2::VPC::CustomerGateway VM::EC2::VPC::VpnGateway
58
60 Lance Kinley <lkinley@loyaltymethods.com>.
61
62 Copyright (c) 2012 Loyalty Methods, Inc.
63
64 This package and its accompanying libraries is free software; you can
65 redistribute it and/or modify it under the terms of the GPL (either
66 version 1, or at your option, any later version) or the Artistic
67 License 2.0. Refer to LICENSE for the full license text. In addition,
68 please see DISCLAIMER.txt for disclaimers of warranty.
69
70
71
72perl v5.32.0 2020-07-28 VM::EC2::VPC::VpnConnection(3)