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

Class: Aws::AutoScaling::Types::AttachLoadBalancerTargetGroupsType

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 AttachLoadBalancerTargetGroupsType data as a hash:

{
  auto_scaling_group_name: "ResourceName", # required
  target_group_arns: ["XmlStringMaxLen511"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


186
187
188
189
190
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 186

class AttachLoadBalancerTargetGroupsType < Struct.new(
  :auto_scaling_group_name,
  :target_group_arns)
  include Aws::Structure
end

#target_group_arnsArray<String>

The Amazon Resource Names (ARN) of the target groups.

Returns:

  • (Array<String>)


186
187
188
189
190
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 186

class AttachLoadBalancerTargetGroupsType < Struct.new(
  :auto_scaling_group_name,
  :target_group_arns)
  include Aws::Structure
end