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

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

πŸ’– VM::EC2::VPC::NetworkAcl::Association πŸ’–

okay bestie, so this is the manual page for VM::EC2::VPC::NetworkAcl::Association(3pm) and it is literally the glow-up your Perl docs needed ✨ it's a little Perl module, and it's all about the association between a network acl and a subnet. yes, that's the whole vibe. it's giving matchmaker energy fr fr 🫢


✨ NAME ✨

VM::EC2::VPC::NetworkAcl::Association β€” the association between a network acl and a subnet πŸŽ€

no cap, that's it. that's the name. it does exactly what it says on the tin.


🌸 SYNOPSIS 🌸

here's how you actually use this thing:

use VM::EC2;

my $ec2      = VM::EC2->new(...);
my $acl      = $ec2->describe_network_acls(-network_acl_id=>'acl-12345678');
my @assoc    = $acl->associations;

foreach my $a (@assoc) {
    print $a->networkAclAssociationId,"\n",
          $a->networkAclId,"\n",
          $a->subnetId,"\n";
}

see how clean that is?? $ec2->describe_network_acls(-network_acl_id=>'acl-12345678') hands you back an acl, $acl->associations gives you a whole lil array of these association objects, and then you just loop through and print the good stuff. main character code tbh πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

This object represents an Amazon EC2 VPC network ACL association πŸ’…

that's the tea. it's the lil object that says "hey, this network ACL is associated with this subnet." it's the bridge. the link. the situationship between your ACL and your subnet (but like, a legally binding one 🫢).


⭐ METHODS ⭐

the object methods (these are supported, periodt)

  • networkAclAssociationId β€” An identifier representing the association between a network ACL and a subnet. your lil id for the whole connection πŸŽ€
  • networkAclId β€” The ID of the network ACL in the association. the acl in question ✨
  • subnetId β€” The ID of the subnet in the association. the subnet in question 🌸

the convenience methods (because we love convenience)

  • network_acl β€” A VM::EC2::VPC::NetworkAcl object. hands you the whole actual acl, not just its id, slay πŸ’–
  • subnet β€” A VM::EC2::VPC::Subnet object. same deal, but for the subnet πŸ¦‹

and one more thing

The object also supports the tags() method described in VM::EC2::Generic:

so if you wanna peek at tags, that's where the deets live. go read VM::EC2::Generic, bestie πŸ“š

🌈 STRING OVERLOADING 🌈

When used in a string context, this object will interpolate the subnetId πŸ’«

so like, if you just drop $a into a string or print it raw, you get the subnetId. that's the default. that's the vibe. iconic behavior ngl.


πŸ‘‘ SEE ALSO πŸ‘‘

go check these out, they're all part of the same little friend group 🫢

  • VM::EC2
  • VM::EC2::Generic
  • VM::EC2::Tag
  • VM::EC2::VPC
  • VM::EC2::VPC::NetworkAcl
  • VM::EC2::VPC::Subnet

πŸ’œ AUTHOR πŸ’œ

Lance Kinley <lkinley@loyaltymethods.com>. 🫑

Copyright (c) 2012 Loyalty Methods, Inc.

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. πŸ“œ

fr fr read the LICENSE and DISCLAIMER.txt, they're not just decorative πŸ’€

and that's a wrap on the VM::EC2::VPC::NetworkAcl::Association page, bestie πŸŽ€ this was perl v5.38.2, dated 2024-08-10, and you ate that reading session. go associate some acls with some subnets, you absolute legend πŸŒŸπŸ’…βœ¨

πŸ“¦ where this page comes from