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_arn ⇒ String

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_name ⇒ String

The name of the Auto Scaling group.

Returns:

  • (String) —

    The name of the Auto Scaling group.

#availability_zones ⇒ Array<String>

One or more Availability Zones for the group.

Returns:

  • (Array<String>) —

    One or more Availability Zones for the group.

#capacity_rebalance ⇒ Boolean

Indicates whether Capacity Rebalancing is enabled.

Returns:

  • (Boolean) —

    Indicates whether Capacity Rebalancing is enabled.

#created_time ⇒ Time

The date and time the group was created.

Returns:

  • (Time) —

    The date and time the group was created.

#default_cooldown ⇒ Integer

The duration of the default cooldown period, in seconds.

Returns:

  • (Integer) —

    The duration of the default cooldown period, in seconds.

#desired_capacity ⇒ Integer

The desired size of the group.

Returns:

  • (Integer) —

    The desired size of the group.

#enabled_metrics ⇒ Array<Types::EnabledMetric>

The metrics enabled for the group.

Returns:

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

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_type ⇒ String

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.

#instances ⇒ Array<Types::Instance>

The EC2 instances associated with the group.

Returns:

  • (Array<Types::Instance>) —

    The EC2 instances associated with the group.

#launch_configuration_name ⇒ String

The name of the associated launch configuration.

Returns:

  • (String) —

    The name of the associated launch configuration.

#launch_template ⇒ Types::LaunchTemplateSpecification

The launch template for the group.

Returns:

#load_balancer_names ⇒ Array<String>

One or more load balancers associated with the group.

Returns:

  • (Array<String>) —

    One or more load balancers associated with the group.

#max_instance_lifetime ⇒ Integer

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

Valid Range: Minimum value of 0.

Returns:

  • (Integer) —

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

#max_size ⇒ Integer

The maximum size of the group.

Returns:

  • (Integer) —

    The maximum size of the group.

#min_size ⇒ Integer

The minimum size of the group.

Returns:

  • (Integer) —

    The minimum size of the group.

#mixed_instances_policy ⇒ Types::MixedInstancesPolicy

The mixed instances policy for the group.

Returns:

#new_instances_protected_from_scale_in ⇒ Boolean

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_group ⇒ String

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_arn ⇒ 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.

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.

#status ⇒ String

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

Returns:

#suspended_processes ⇒ Array<Types::SuspendedProcess>

The suspended processes associated with the group.

Returns:

#tags ⇒ Array<Types::TagDescription>

The tags for the group.

Returns:

#target_group_arns ⇒ Array<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_policies ⇒ Array<String>

The termination policies for the group.

Returns:

  • (Array<String>) —

    The termination policies for the group.

#vpc_zone_identifier ⇒ String

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

Returns:

  • (String) —

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