Class: Aws::ElasticLoadBalancingV2::Types::TargetGroupStickinessConfig

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

{
  enabled: false,
  duration_seconds: 1,
}

Information about the target group stickiness for a rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_secondsInteger

The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).

Returns:

  • (Integer)

4174
4175
4176
4177
4178
4179
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4174

class TargetGroupStickinessConfig < Struct.new(
  :enabled,
  :duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Indicates whether target group stickiness is enabled.

Returns:

  • (Boolean)

4174
4175
4176
4177
4178
4179
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4174

class TargetGroupStickinessConfig < Struct.new(
  :enabled,
  :duration_seconds)
  SENSITIVE = []
  include Aws::Structure
end