VM::EC2::VPC::VpnGateway3pm
Virtual private cloud vpn gateway
Usage
use VM::EC2;my $ec2 = VM::EC2->new(...);my $gtwy = $ec2->describe_vpn_gateways(-vpn_gatway_id=>'vgw-12345678');my $state = $gtwy->state;
Overview
This object represents an Amazon EC2 VPC route, and is returned by VM::EC2->describe_internet_gateways() and ->create_internet_gateway()
Methods
These object methods are supported:
vpnGatewayId -- The ID of the VPN gateway.state -- The current state of the virtual private gateway.Valid values: pending | available | deleting | deletedtype -- The type of VPN connection the virtual private gatewaysupports (ipsec.1)availabilityZone -- The Availability Zone where the virtual private gatewaywas created as a L<VM::EC2::AvailabilityZone> object.attachments -- A list of VPCs attached to the VPN gateway.tagSet -- Tags assigned to the resource.zone -- Alias for availabilityZone.
The following convenience methods are supported:
attachments -- Returns a series of L<VM::EC2::VPC::VpnGateway::Attachment>objects
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 vpnGatewayId.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.