VM::EC...emetry(3pm)
π VM::EC2::VPC::TunnelTelemetry π
okay bestie, sit down, hydrate, and let me tell you about this absolute little legend of a Perl module. it's called VM::EC2::VPC::TunnelTelemetry, and it ships as part of the User Contributed Perl Documentation crew. yes, the whole name is a mouthful, we still stan her π«Ά
she's a VPN tunnel telemetry object, and she is lowkey iconic.
β¨ NAME β¨
VM::EC2::VPC::TunnelTelemetry β Virtual Private Cloud VPN tunnel telemetry π
like. the whole point of her. tunnel. telemetry. she watches the vibes of your VPN tunnel and reports back.
πΈ SYNOPSIS πΈ
here's the group-chat recap of how you two meet:
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";
see that? you spin up a VM::EC2, you go get your VPN connection with describe_vpn_connections(-vpn_connection_id=>'vpn-12345678'), you grab the vpn_telemetry off of it, and then you just print the status. no cap, that's the whole plot. it's giving "short and sweet" and honestly? we love that for us. β¨
π¦ DESCRIPTION π¦
so what is she, fr fr?
this object represents an Amazon EC2 VPC route, and she's returned by VM::EC2->describe_vpn_connections(). π
(yes bestie, that's what it says. we report, you decide. π)
π METHODS π
these are the object methods she supports. every single one, no skips, no cuts:
outsideIpAddressβ the Internet-routable IP address of the virtual private gateway's outside interface. that's the face she shows the actual internet πstatusβ the status of the VPN tunnel. valid values are:UP|DOWN. that's it. that's the whole mood ring πlastStatusChangeβ the date and time of the last change in status. receipts for when the vibe shifted πstatusMessageβ if an error occurs, a description of the error. she will tell you what went wrong, she's not mysterious about it πacceptedRouteCountβ the number of accepted routes. the count. the number. the math π₯
also, she supports the tags() method described in VM::EC2::Generic. so you can tag her up, bestie π·οΈβ¨
π§ STRING OVERLOADING π§
when you use this object in a string context, she will interpolate the status.
so if you just casually drop her into a string, you get the status and nothing else. main character behavior tbh. she knows what you want. π
π SEE ALSO π
go say hi to her friends, they're all lovely:
VM::EC2VM::EC2::GenericVM::EC2::TagVM::EC2::VPCVM::EC2::VPC::VpnConnection
π AUTHOR π
Lance Kinley <lkinley@loyaltymethods.com>. π
Copyright (c) 2012 Loyalty Methods, Inc.
This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.
okay so legally speaking: she's free software, GPL (version 1, or at your option any later version) or the Artistic License 2.0, your pick. readLICENSEfor the whole thing, and readDISCLAIMER.txtfor the warranty disclaimers, because there are none and you should know that going in π
and that's the whole page, bestie!! this one came from perl v5.38.2, dated 2024-08-10, and it's VM::EC2::VPC::TunnelTelemetry(3pm). slay, go read your tunnel telemetry, love you, bye πβ¨π¦
π¦ where this page comes from
- debian trixie: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu resolute: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu stonking: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms