VM::EC...ciation(3pm)
π 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β AVM::EC2::VPC::NetworkAclobject. hands you the whole actual acl, not just its id, slay πsubnetβ AVM::EC2::VPC::Subnetobject. 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::EC2VM::EC2::GenericVM::EC2::TagVM::EC2::VPCVM::EC2::VPC::NetworkAclVM::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
- 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