You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AutoScaling::Types::AutoScalingGroup

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes an Auto Scaling group.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_arnString

The Amazon Resource Name (ARN) of the group.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the group.

#auto_scaling_group_nameString

The name of the group.

Returns:

  • (String)

    The name of the group.

#availability_zonesArray<String>

One or more Availability Zones for the group.

Returns:

  • (Array<String>)

    One or more Availability Zones for the group.

#created_timeTime

The date and time the group was created.

Returns:

  • (Time)

    The date and time the group was created.

#default_cooldownInteger

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.

Returns:

  • (Integer)

    The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.

#desired_capacityInteger

The desired size of the group.

Returns:

  • (Integer)

    The desired size of the group.

#enabled_metricsArray<Types::EnabledMetric>

The metrics enabled for the group.

Returns:

#health_check_grace_periodInteger

The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

Returns:

  • (Integer)

    The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

#health_check_typeString

The service to use for the health checks. The valid values are EC2 and ELB.

Returns:

  • (String)

    The service to use for the health checks.

#instancesArray<Types::Instance>

The EC2 instances associated with the group.

Returns:

  • (Array<Types::Instance>)

    The EC2 instances associated with the group.

#launch_configuration_nameString

The name of the associated launch configuration.

Returns:

  • (String)

    The name of the associated launch configuration.

#load_balancer_namesArray<String>

One or more load balancers associated with the group.

Returns:

  • (Array<String>)

    One or more load balancers associated with the group.

#max_sizeInteger

The maximum size of the group.

Returns:

  • (Integer)

    The maximum size of the group.

#min_sizeInteger

The minimum size of the group.

Returns:

  • (Integer)

    The minimum size of the group.

#new_instances_protected_from_scale_inBoolean

Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.

Returns:

  • (Boolean)

    Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.

#placement_groupString

The name of the placement group into which you\'ll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.

Returns:

  • (String)

    The name of the placement group into which you\'ll launch your instances, if any.

#statusString

The current state of the group when DeleteAutoScalingGroup is in progress.

Returns:

#suspended_processesArray<Types::SuspendedProcess>

The suspended processes associated with the group.

Returns:

#tagsArray<Types::TagDescription>

The tags for the group.

Returns:

#target_group_arnsArray<String>

The Amazon Resource Names (ARN) of the target groups for your load balancer.

Returns:

  • (Array<String>)

    The Amazon Resource Names (ARN) of the target groups for your load balancer.

#termination_policiesArray<String>

The termination policies for the group.

Returns:

  • (Array<String>)

    The termination policies for the group.

#vpc_zone_identifierString

One or more subnet IDs, if applicable, separated by commas.

If you specify VPCZoneIdentifier and AvailabilityZones, ensure that the Availability Zones of the subnets match the values for AvailabilityZones.

Returns:

  • (String)

    One or more subnet IDs, if applicable, separated by commas.