VM::EC2::ASG(3pm)

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

πŸ’– 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::EC2
  • VM::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