Net::Am...mission(3)

πŸ“¦
version 0.36 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Net::Amazon::EC2::IpPermission β€” bestie, it's the manual page for this lil Perl module, and it's giving "one rule inside a security group" energy. That's it. That's the whole vibe. πŸŽ€


🌸 DESCRIPTION 🌸

okay so picture this: a security group πŸ‘‘ is the bouncer at the club, right? And this class? This class is one single rule inside that security group. Just one. A whole class for one rule. iconic honestly. πŸ’…

So like, if your security group is "who's allowed in and on what ports," a Net::Amazon::EC2::IpPermission is the little line item that says exactly which protocol, which ports, and who gets to come through. no cap. ✨


πŸ¦‹ ATTRIBUTES πŸ¦‹

the receipts, the deets, the actual fields. some of these are required (no skipping, bestie, they will simply not let you) and some are optional (chill, do it if you want πŸ’œ).

ip_protocol (required) 🫢

The protocol for the rule. Like, tcp. that's the whole thing. you literally cannot skip this one, it's required fr fr.

from_port (required) ⭐

Where the port range starts, for the TCP and UDP protocols β€” or, plot twist, it's an ICMP type number instead. And if that ICMP type number is -1? that's a wildcard babes, meaning literally any ICMP type number. required, obviously. πŸ’…

to_port (required) πŸ”₯

The end of the port range for TCP and UDP β€” or an ICMP code, because this field is a lil overachiever and does double duty. An ICMP code of -1 is a wildcard again (any ICMP code, go wild). also required. no notes. 😌

ip_ranges (optional) 🌈

An array ref of Net::Amazon::EC2::IpRange objects that get associated with this rule. optional! so if you don't have any, you're fine, you're still slaying. ✨

groups (optional) πŸŽ€

An array ref of Net::Amazon::EC2::UserIdGroupPair objects to be associated with this rule. also optional. also iconic. group chat of security groups, lowkey. 🫢

icmp_port (optional) 🧚

okay this one is specifically for the ICMP protocol, and here's the tea: when you're doing ICMP, you must specify both the ICMP type and the code. and you have to write it in the format type:code, where both are integers. you can set type, code, or both to -1 and that's a wildcard. πŸ’€

heads up bestie β€” the type and code requirement is not a suggestion. ICMP means you specify both. that's the rule. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Jeff Kim <cpan@chosec.com> β€” the original main character, we stan. πŸ’–


Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. (yes, legally required to be here, and yes, we're keeping every word of it. periodt. πŸ’…)


and that's the page, bestie πŸ¦‹ this lil manual came to you from the perl v5.42.0 docs, dated 2025-07-25 β€” tysm for reading, mwah, go forth and configure your security groups responsibly πŸŽ€βœ¨πŸ’œ

πŸ“¦ where this page comes from