VM::EC2::VPC::CustomerGateway3pm
Object describing an amazon ec2 virtual private cloud customer gateway
Usage
use VM::EC2;my $ec2 = VM::EC2->new(...);my $gtwy = $ec2->describe_customer_gateways(-customer_gatway_id=>'cgw-12345678');print $gtwy->ipAddress,"\n",$gtwy->state,"\n";
Overview
This object represents an Amazon EC2 VPC route, and is returned by VM::EC2->describe_customer_gateways() and ->create_customer_gateway()
Methods
These object methods are supported:
customerGatewayId -- The ID of the customer gateway.state -- The current state of the customer gateway.Valid values: pending | available | deleting | deletedtype -- The type of VPN connection the customer gatewaysupports (ipsec.1).ipAddress -- The Internet-routable IP address of the customergateway's outside interface.bgpAsn -- The customer gateway's Border Gateway Protocol (BGP)Autonomous System Number (ASN).tagSet -- Tags assigned to the resource.
The object also supports the tags() method described in VM::EC2::Generic:
String overloading
When used in a string context, this object will interpolate the customerGatewayId.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.