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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TargetGroupStickinessConfig as input to an Aws::Client method, you can use a vanilla Hash:

{
  enabled: false,
  duration_seconds: 1,
}

Information about the target group stickiness for a rule.

Returned by:

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)

    The time period, in seconds, during which requests from a client should be routed to the same target group.

#enabledBoolean

Indicates whether target group stickiness is enabled.

Returns:

  • (Boolean)

    Indicates whether target group stickiness is enabled.