libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.Types.LBCookieStickinessPolicy

Description

 
Synopsis

Documentation

data LBCookieStickinessPolicy Source #

Information about a policy for duration-based session stickiness.

See: newLBCookieStickinessPolicy smart constructor.

Constructors

LBCookieStickinessPolicy' 

Fields

  • policyName :: Maybe Text

    The name of the policy. This name must be unique within the set of policies for this load balancer.

  • cookieExpirationPeriod :: Maybe Integer

    The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.

Instances

Instances details
Eq LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

Read LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

Show LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

Generic LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

Associated Types

type Rep LBCookieStickinessPolicy :: Type -> Type #

NFData LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

Hashable LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

FromXML LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

type Rep LBCookieStickinessPolicy Source # 
Instance details

Defined in Amazonka.ELB.Types.LBCookieStickinessPolicy

type Rep LBCookieStickinessPolicy = D1 ('MetaData "LBCookieStickinessPolicy" "Amazonka.ELB.Types.LBCookieStickinessPolicy" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "LBCookieStickinessPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cookieExpirationPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newLBCookieStickinessPolicy :: LBCookieStickinessPolicy Source #

Create a value of LBCookieStickinessPolicy 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:policyName:LBCookieStickinessPolicy', lBCookieStickinessPolicy_policyName - The name of the policy. This name must be unique within the set of policies for this load balancer.

$sel:cookieExpirationPeriod:LBCookieStickinessPolicy', lBCookieStickinessPolicy_cookieExpirationPeriod - The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.

lBCookieStickinessPolicy_policyName :: Lens' LBCookieStickinessPolicy (Maybe Text) Source #

The name of the policy. This name must be unique within the set of policies for this load balancer.

lBCookieStickinessPolicy_cookieExpirationPeriod :: Lens' LBCookieStickinessPolicy (Maybe Integer) Source #

The time period, in seconds, after which the cookie should be considered stale. If this parameter is not specified, the stickiness session lasts for the duration of the browser session.