---
name: "VM::EC2::ASG"
section: "3pm"
platform: "linux"
package: "libvm-ec2-perl"
version: "1.28-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/VM::EC2::ASG"
---

# VM::EC2::ASG(3pm)

Object describing an AutoScaling Group

## NAME

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

## SYNOPSIS

```
  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;
```

## DESCRIPTION

This object represents an AutoScaling Group. It is returned by `"VM::EC2-"`**describe\_autoscaling\_groups()**\>.

## METHODS

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
```

## SEE ALSO

VM::EC2 VM::EC2::Generic

## AUTHOR

Jose Luis Martinez
