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 Auto Scaling group.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the Auto Scaling group.

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)

    The name of the Auto Scaling 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 Amazon EC2 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 Amazon EC2 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. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

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.

#launch_templateTypes::LaunchTemplateSpecification

The launch template for the group.

Returns:

#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_instance_lifetimeInteger

The maximum amount of time, in seconds, that an instance can be in service.

Valid Range: Minimum value of 604800.

Returns:

  • (Integer)

    The maximum amount of time, in seconds, that an instance can be in service.

#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.

#mixed_instances_policyTypes::MixedInstancesPolicy

The mixed instances policy for the group.

Returns:

#new_instances_protected_from_scale_inBoolean

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

Returns:

  • (Boolean)

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

#placement_groupString

The name of the placement group into which to launch your instances, if any.

Returns:

  • (String)

    The name of the placement group into which to launch your instances, if any.

#service_linked_role_arnString

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.

#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.

Returns:

  • (String)

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