VM::EC...eTable(3pm)
π VM::EC2::VPC::RouteTable π
okay bestie, welcome to the manual page for VM::EC2::VPC::RouteTable (that's the Perl doc situation, 3pm coded, and yes she's from the User Contributed Perl Documentation part of the internet) β¨
πΈ NAME πΈ
VM::EC2::VPC::RouteTable β it's a VPC route table, fr fr π
π¦ SYNOPSIS π¦
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my @tables = $ec2->describe_route_tables;
for my $rt (@tables) {
print $rt->routeTableId,"\n",
$rt->vpcId,"\n";
my @routes = $rt->routes;
my @associations = $rt->associations;
}
no cap, that's the whole vibe right there π«Ά
π DESCRIPTION π
So this object is out here supporting the EC2 Virtual Private Cloud route table interface, and its whole job is controlling how packets get routed within and between subnets. she's giving network traffic control, main character energy π
β¨ METHODS β¨
These object methods are supported, and yes we're listing all of them, periodt:
routeTableIdβ the ID of the route table π«vpcIdβ the ID of the VPC the route table lives in πroutesβ an array ofVM::EC2::VPC::Routeobjects, each one describing a routing rule in the table πassociationsβ an array ofVM::EC2::RouteTable::Associationobjects, each one describing the association between the route table and a subnet π
This class also supports the VM::EC2 tagging interface, so like, go look at VM::EC2::Generic for the info on that, iykyk π·οΈ
π plus the convenience methods, because she's generous π
In addition, this object supports the following convenience methods:
vpcβ the VPC object for this route table π«Άmainβ returns true if this is the VPC's current "main" route table βassociate($subnet)β associate the route table with a subnet ID or object πdisassociate($subnet)β disassociate the route table with a subnet ID or object βοΈrefreshβ refreshes the object from its current state in EC2 πcreate_route($dest=>$target)β create a route in the route table π οΈdelete_route($dest)β delete a route in the route table ποΈreplace_route($dest=>$target)β replace a route in the route table β»οΈ
π STRING OVERLOADING π
When you use this object in a string context, it gets interpolated as the route table ID. literally that's it, she just becomes her own ID, iconic π
π SEE ALSO π
VM::EC2VM::EC2::Generic
π AUTHOR π
Lincoln Stein <lincoln.stein@gmail.com> π«Ά
Copyright (c) 2012 Ontario Institute for Cancer Research
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 like, actually read those license files, bestie, they're the legal realness and we do not skip them π
and that's the whole page!! πβ¨
this lil doc is perl v5.38.2, dated 2024-08-10, and it lives in the VM::EC...eTable(3pm) corner of the manual universe π bye bestie, go route some packets responsibly π¦πΈ
π¦ 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