VM::EC...tyGroup(3pm)
π VM::EC2::DB::EC2SecurityGroup β the tea β
okay bestie, so this little icon lives in the User Contributed Perl Documentation manual (that's the 3pm bit, iykyk), and it's giving very specific but very useful. Let's get into it π«Ά
β¨ NAME β¨
VM::EC2::DB::EC2SecurityGroup β literally an RDS Database EC2 Security Group. that's the whole thing. that's the vibe. π
β¨ SYNOPSIS β¨
here's how you actually use it, no gatekeeping:
use VM::EC2;
$ec2 = VM::EC2->new(...);
$group = $ec2->authorize_db_security_group_ingress(-db_security_group_name => 'dbgroup',
-ec2_security_group_name => 'ec2group',
-ec2_security_group_owner_id => '123456789123');
print $_,"\n" foreach $group->EC2SecurityGroups;
so you spin up your $ec2 object, you call authorize_db_security_group_ingress with your -db_security_group_name, your -ec2_security_group_name and your -ec2_security_group_owner_id, and then you loop over $group->EC2SecurityGroups and print each one with a newline. clean. slay. πΈ
β¨ DESCRIPTION β¨
okay so real talk: this object represents an EC2 Security Group that is authorized in a DB Security Group. that's it. that's the assignment. it's the lil' container holding the info about which EC2 security group got the green light inside your DB security group. π
β¨ STRING OVERLOADING β¨
the way this object just knows what to do in string context π when you use it as a string, it returns the EC2 Security Group ID. so you can just drop it in a print or interpolate it and it hands you the ID like the main character it is. π
β¨ SEE ALSO β¨
go check out its friends, fr fr:
VM::EC2VM::EC2::GenericVM::EC2::DB::Instance
β¨ AUTHOR β¨
Lance Kinley <lkinley@loyaltymethods.com> π
Copyright (c) 2013 Loyalty Methods, Inc.
okay legal bestie moment, listen up π’ 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 toLICENSEfor the full license text. In addition, please seeDISCLAIMER.txtfor disclaimers of warranty. read the fine print, it matters π«Ά
and that's a wrap on this page, bestie β¨ it was shipped as part of perl v5.38.2 and dated 2024-08-10 β go forth and authorize those security groups, you absolute legend πππ
π¦ 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