1VM::EC2::VPC::CustomerGUasteerwaCyo(n3t)ributed Perl DocVuMm:e:nEtCa2t:i:oVnPC::CustomerGateway(3)
2
3
4
6 VM::EC2::VPC::CustomerGateway - Object describing an Amazon EC2 Virtual
7 Private Cloud customer gateway
8
10 use VM::EC2;
11
12 my $ec2 = VM::EC2->new(...);
13 my $gtwy = $ec2->describe_customer_gateways(-customer_gatway_id=>'cgw-12345678');
14 print $gtwy->ipAddress,"\n",
15 $gtwy->state,"\n";
16
18 This object represents an Amazon EC2 VPC route, and is returned by
19 VM::EC2->describe_customer_gateways() and ->create_customer_gateway()
20
22 These object methods are supported:
23
24 customerGatewayId -- The ID of the customer gateway.
25 state -- The current state of the customer gateway.
26 Valid values: pending | available | deleting | deleted
27 type -- The type of VPN connection the customer gateway
28 supports (ipsec.1).
29 ipAddress -- The Internet-routable IP address of the customer
30 gateway's outside interface.
31 bgpAsn -- The customer gateway's Border Gateway Protocol (BGP)
32 Autonomous System Number (ASN).
33 tagSet -- Tags assigned to the resource.
34
35 The object also supports the tags() method described in
36 VM::EC2::Generic:
37
39 When used in a string context, this object will interpolate the
40 customerGatewayId.
41
43 VM::EC2 VM::EC2::Generic VM::EC2::Tag VM::EC2::VPC
44
46 Lance Kinley <lkinley@loyaltymethods.com>.
47
48 Copyright (c) 2012 Loyalty Methods, Inc.
49
50 This package and its accompanying libraries is free software; you can
51 redistribute it and/or modify it under the terms of the GPL (either
52 version 1, or at your option, any later version) or the Artistic
53 License 2.0. Refer to LICENSE for the full license text. In addition,
54 please see DISCLAIMER.txt for disclaimers of warranty.
55
56
57
58perl v5.34.0 2022-01-21 VM::EC2::VPC::CustomerGateway(3)