VM::EC2::VPC::VpnConnection3pm
Vpc vpn connection
Usage
use VM::EC2;my $ec2 = VM::EC2->new(...);my $vpn = $ec2->describe_vpn_connections(-vpn_connection_id=>'vpn-12345678');my $state = $vpn->state;my $vpn_gateway = $vpn->vpn_gateway;my $customer_gateway = $vpn->customer_gateway;
Overview
This object represents an Amazon EC2 VPC VPN connection, and is returned by VM::EC2->describe_vpn_connections()
Methods
These object methods are supported:
vpnConnectionId -- The ID of the VPN connection.state -- The current state of the VPN connection.Valid values: pending | available | deleting | deletedcustomerGatewayConfiguration -- Configuration information for the VPN connection'scustomer gateway (in the native XML format). Thiselement is always present in the CreateVpnConnectionresponse; however, it's present in theDescribeVpnConnections response only if the VPNconnection is in the pending or available state.type -- The type of VPN connection (ipsec.1)customerGatewayId -- ID of the customer gateway at your end of the VPNconnection.vpnGatewayId -- ID of the virtual private gateway at the VPC end ofthe VPN connection.tagSet -- Tags assigned to the resource.vgwTelemetry -- Information about the virtual private gateway.vpn_telemetry -- Alias for vgwTelemetry
The following convenience methods are supported:
vpn_gateway -- Returns a L<VM::EC2::VPC::VpnGateway> objectcustomer_gateway -- Returns a L<VM::EC2::VPC::CustomerGateway> object
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 vpnConnectionId.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.