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

Class: Aws::AutoScaling::Types::AutoScalingGroupNamesType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb

Overview

Note:

When making an API call, you may pass AutoScalingGroupNamesType data as a hash:

{
  auto_scaling_group_names: ["ResourceName"],
  next_token: "XmlString",
  max_records: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_namesArray<String>

The names of the Auto Scaling groups. Each name can be a maximum of 1600 characters. By default, you can only specify up to 50 names. You can optionally increase this limit using the MaxRecords parameter.

If you omit this parameter, all Auto Scaling groups are described.

Returns:

  • (Array<String>)


392
393
394
395
396
397
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 392

class AutoScalingGroupNamesType < Struct.new(
  :auto_scaling_group_names,
  :next_token,
  :max_records)
  include Aws::Structure
end

#max_recordsInteger

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

Returns:

  • (Integer)


392
393
394
395
396
397
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 392

class AutoScalingGroupNamesType < Struct.new(
  :auto_scaling_group_names,
  :next_token,
  :max_records)
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. (You received this token from a previous call.)

Returns:

  • (String)


392
393
394
395
396
397
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 392

class AutoScalingGroupNamesType < Struct.new(
  :auto_scaling_group_names,
  :next_token,
  :max_records)
  include Aws::Structure
end