Class: Aws::ElasticLoadBalancingV2::Types::TargetGroupTuple

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Note:

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

{
  target_group_arn: "TargetGroupArn",
  weight: 1,
}

Information about how traffic will be distributed between multiple target groups in a forward rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#target_group_arnString

The Amazon Resource Name (ARN) of the target group.

Returns:

  • (String)

4202
4203
4204
4205
4206
4207
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4202

class TargetGroupTuple < Struct.new(
  :target_group_arn,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end

#weightInteger

The weight. The range is 0 to 999.

Returns:

  • (Integer)

4202
4203
4204
4205
4206
4207
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4202

class TargetGroupTuple < Struct.new(
  :target_group_arn,
  :weight)
  SENSITIVE = []
  include Aws::Structure
end