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

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 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)


4234
4235
4236
4237
4238
4239
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4234

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

#enabledBoolean

Indicates whether target group stickiness is enabled.

Returns:

  • (Boolean)


4234
4235
4236
4237
4238
4239
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 4234

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