libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ELBV2.Types.TargetGroupStickinessConfig

Description

 
Synopsis

Documentation

data TargetGroupStickinessConfig Source #

Information about the target group stickiness for a rule.

See: newTargetGroupStickinessConfig smart constructor.

Constructors

TargetGroupStickinessConfig' 

Fields

  • enabled :: Maybe Bool

    Indicates whether target group stickiness is enabled.

  • durationSeconds :: Maybe Int

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

Instances

Instances details
Eq TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

Read TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

Show TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

Generic TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

Associated Types

type Rep TargetGroupStickinessConfig :: Type -> Type #

NFData TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

Hashable TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

ToQuery TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

FromXML TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

type Rep TargetGroupStickinessConfig Source # 
Instance details

Defined in Amazonka.ELBV2.Types.TargetGroupStickinessConfig

type Rep TargetGroupStickinessConfig = D1 ('MetaData "TargetGroupStickinessConfig" "Amazonka.ELBV2.Types.TargetGroupStickinessConfig" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "TargetGroupStickinessConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "durationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newTargetGroupStickinessConfig :: TargetGroupStickinessConfig Source #

Create a value of TargetGroupStickinessConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:enabled:TargetGroupStickinessConfig', targetGroupStickinessConfig_enabled - Indicates whether target group stickiness is enabled.

$sel:durationSeconds:TargetGroupStickinessConfig', targetGroupStickinessConfig_durationSeconds - 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).

targetGroupStickinessConfig_enabled :: Lens' TargetGroupStickinessConfig (Maybe Bool) Source #

Indicates whether target group stickiness is enabled.

targetGroupStickinessConfig_durationSeconds :: Lens' TargetGroupStickinessConfig (Maybe Int) Source #

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