DOKK / manpages / debian 12 / libvm-ec2-perl / VM::EC2::ASG.3pm.en
VM::EC2::ASG(3pm) User Contributed Perl Documentation VM::EC2::ASG(3pm)

VM::EC2::ASG - Object describing an AutoScaling Group

  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;

This object represents an AutoScaling Group. It is returned by "VM::EC2-"describe_autoscaling_groups()>.

These properties are supported:

  auto_scaling_group_arn    -- ARN of the group
  auto_scaling_group_name   -- Name
  availability_zones        -- Zones in which this group auto scale
  created_time              -- Time of creation
  default_cooldown
  desired_capacity
  enabled_metrics
  health_check_type
  health_check_grace_period
  instance                  -- List of instances active in this group
  launch_configuration      -- Launch configuration name
  load_balancer_names       -- List of load balancers
  max_size
  min_size
  placement_group
  status
  suspended_processes
  tags
  termination_policies
  vpc_zone_identifier

VM::EC2 VM::EC2::Generic

Jose Luis Martinez

2022-10-14 perl v5.34.0