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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticloadbalancingv2/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)


4262
4263
4264
4265
4266
4267
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4262

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

#weightInteger

The weight. The range is 0 to 999.

Returns:

  • (Integer)


4262
4263
4264
4265
4266
4267
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4262

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