VM::EC2::VPC::TunnelTelemetry - Virtual Private Cloud VPN tunnel telemetry
Contents
Description
This object represents an Amazon EC2 VPC route, and is returned by VM::EC2->describe_vpn_connections()Methods
These object methods are supported:
outsideIpAddress -- The Internet-routable IP address of the virtual
private gateway's outside interface.
status -- The status of the VPN tunnel.
Valid values: UP | DOWN
lastStatusChange -- The date and time of the last change in status.
statusMessage -- If an error occurs, a description of the error.
acceptedRouteCount -- The number of accepted routes.
The object also supports the tags() method described in VM::EC2::Generic:
Name
VM::EC2::VPC::TunnelTelemetry - Virtual Private Cloud VPN tunnel telemetry
See Also
VM::EC2 VM::EC2::Generic VM::EC2::Tag VM::EC2::VPC VM::EC2::VPC::VpnConnection
String Overloading
When used in a string context, this object will interpolate the status.
Synopsis
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my $vpn = $ec2->describe_vpn_connections(-vpn_connection_id=>'vpn-12345678');
my $telemetry = $vpn->vpn_telemetry;
print $telemetry->status,"\n";
