VM::EC2::ASG(3pm)
π VM::EC2::ASG π
okay so bestie, welcome to the VM::EC2::ASG page β it's a User Contributed Perl Documentation situation, and it's literally the object that describes an AutoScaling Group. no cap. π¦
β¨ NAME β¨
VM::EC2::ASG β Object describing an AutoScaling Group. that's it, that's the whole vibe check. π
πΈ SYNOPSIS πΈ
here's the little ritual you do, copy it exactly, don't freestyle:
use VM::EC2;
$ec2 = VM::EC2->new(...);
@asgs = $ec2->describe_autoscaling_groups();
$asg = $asgs[0];
$name = $asg->auto_scaling_group_name;
@azs = $asg->availability_zones;
so you make a VM::EC2 object, you describe_autoscaling_groups(), you grab the first one like it's the last slice of cake, and then you start asking it questions. main character energy fr fr. π
π DESCRIPTION π
this object represents an AutoScaling Group. it's the thing that gets returned by "VM::EC2-"describe_autoscaling_groups()>. that's the glow-up, that's the origin story. β¨
π METHODS π
these properties are supported β and yes, we're doing ALL of them, nobody gets left out, every single one is iconic in its own way:
auto_scaling_group_arnβ the ARN of the group. it's giving β¨government nameβ¨.auto_scaling_group_nameβ the name. the government name's chill younger sibling.availability_zonesβ the zones in which this group auto scales. plural zones, plural slay. πcreated_timeβ time of creation. its birthday. put it in your calendar. πdefault_cooldownβ the default cooldown, bestie.desired_capacityβ desired capacity. the goal. the dream. the vision board. πenabled_metricsβ enabled metrics.health_check_typeβ health check type.health_check_grace_periodβ health check grace period. it's giving "give me a minute to get ready". πinstanceβ list of instances active in this group.launch_configurationβ launch configuration name.load_balancer_namesβ list of load balancers.max_sizeβ max size.min_sizeβ min size.placement_groupβ placement group.statusβ status.suspended_processesβ suspended processes. they're on a little break, respect it. πtagsβ tags.termination_policiesβ termination policies.vpc_zone_identifierβ vpc zone identifier.
and that's the whole roster. twenty of them. all accounted for. π«Ά
π₯ SEE ALSO π₯
go read these next, they're the rest of the friend group:
VM::EC2VM::EC2::Generic
π AUTHOR π
Jose Luis Martinez wrote this. absolute legend behaviour. π«‘
okay that's the whole page!! it shipped with perl v5.38.2 and it's dated 2024-08-10, so if you're reading this, shoutout to that exact little moment in time. you understood the assignment, bestie β go describe some autoscaling groups πβ¨ππ¦πΈπ
π¦ 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