VM::EC...eTable(3pm)

πŸ“¦
version 1.28 Β· 7 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 of VM::EC2::VPC::Route objects, each one describing a routing rule in the table 🌈
  • associations β€” an array of VM::EC2::RouteTable::Association objects, 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::EC2
  • VM::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