1VM::EC2::VPC::VpnGatewaUys(e3r)Contributed Perl DocumentVaMt:i:oEnC2::VPC::VpnGateway(3)
2
3
4
6 VM::EC2::VPC::VpnGateway - Virtual Private Cloud VPN gateway
7
9 use VM::EC2;
10
11 my $ec2 = VM::EC2->new(...);
12 my $gtwy = $ec2->describe_vpn_gateways(-vpn_gatway_id=>'vgw-12345678');
13 my $state = $gtwy->state;
14
16 This object represents an Amazon EC2 VPC route, and is returned by
17 VM::EC2->describe_internet_gateways() and ->create_internet_gateway()
18
20 These object methods are supported:
21
22 vpnGatewayId -- The ID of the VPN gateway.
23 state -- The current state of the virtual private gateway.
24 Valid values: pending | available | deleting | deleted
25 type -- The type of VPN connection the virtual private gateway
26 supports (ipsec.1)
27 availabilityZone -- The Availability Zone where the virtual private gateway
28 was created as a L<VM::EC2::AvailabilityZone> object.
29 attachments -- A list of VPCs attached to the VPN gateway.
30 tagSet -- Tags assigned to the resource.
31 zone -- Alias for availabilityZone.
32
33 The following convenience methods are supported:
34
35 attachments -- Returns a series of L<VM::EC2::VPC::VpnGateway::Attachment>
36 objects
37
38 The object also supports the tags() method described in
39 VM::EC2::Generic:
40
42 When used in a string context, this object will interpolate the
43 vpnGatewayId.
44
46 VM::EC2 VM::EC2::Generic VM::EC2::Tag VM::EC2::VPC
47 VM::EC2::VPC::VpnGateway::Attachment
48
50 Lance Kinley <lkinley@loyaltymethods.com>.
51
52 Copyright (c) 2012 Loyalty Methods, Inc.
53
54 This package and its accompanying libraries is free software; you can
55 redistribute it and/or modify it under the terms of the GPL (either
56 version 1, or at your option, any later version) or the Artistic
57 License 2.0. Refer to LICENSE for the full license text. In addition,
58 please see DISCLAIMER.txt for disclaimers of warranty.
59
60
61
62perl v5.36.0 2022-07-22 VM::EC2::VPC::VpnGateway(3)