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

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

πŸ’– VM::EC2::DB::IPRange β€” the manual, but make it make sense πŸ’–

okay so bestie, you found your way to the VM::EC2::DB::IPRange(3pm) page in the User Contributed Perl Documentation, and honestly? iconic of you. this is the RDS Database IP Range page. let's get into it πŸ¦‹


✨ NAME ✨

VM::EC2::DB::IPRange β€” it's an RDS Database IP Range, periodt. that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

here's the vibe in code form, copied exactly, no cap:

use VM::EC2;

$ec2 = VM::EC2->new(...);
$group = $ec2->revoke_db_security_group_ingress(-db_security_group_name => 'dbgroup',
                                                   -cidrip => '10.10.10.10/32');
print $_,"\n" foreach grep { $_->Status eq 'authorized' } $group->IPRanges;

so you make your $ec2 object, you revoke some db security group ingress with -db_security_group_name => 'dbgroup' and -cidrip => '10.10.10.10/32', and then you loop over $group->IPRanges and print every one whose Status is 'authorized'. chef's kiss, we love a filter πŸŽ€


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so real talk: this object represents an IP Range in a DB Security group. that's it. that's the whole thing. it's a little representation of one IP range, sitting inside a database security group, being its main character self. 🌈


πŸ’… STRING OVERLOADING πŸ’…

when you use this object in string context, it hands you back the CIDRIP. that's the whole trick. it's giving one-trick pony but the pony ate. πŸ”₯


🫢 SEE ALSO 🫢

go bother these besties next, they're all in the family:

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::DB::Instance

πŸ’œ AUTHOR πŸ’œ

this was written by Lance Kinley <lkinley@loyaltymethods.com>. give him his flowers. 🌸

Copyright (c) 2013 Loyalty Methods, Inc.

and now the legal bit, said with love because the details matter: 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. also, please see DISCLAIMER.txt for disclaimers of warranty. read them fr fr, don't skip. πŸ’€


and that's a wrap, bestie ✨ this page lives in perl v5.38.2, dated 2024-08-10, filed under VM::EC...PRange(3pm) in the User Contributed Perl Documentation. go forth and manage those IP ranges, you absolute legend πŸ‘‘πŸ’–

πŸ“¦ where this page comes from