AWS::ElasticLoadBalancing::LoadBalancer LBCookieStickinessPolicy - AWS CloudFormation

AWS::ElasticLoadBalancing::LoadBalancer LBCookieStickinessPolicy

Specifies a policy for duration-based session stickiness for your Classic Load Balancer.

To associate a policy with a listener, use the PolicyNames property for the listener.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "CookieExpirationPeriod" : String, "PolicyName" : String }

YAML

CookieExpirationPeriod: String PolicyName: String

Properties

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.

Required: No

Type: String

Update requires: No interruption

PolicyName

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

Required: No

Type: String

Update requires: No interruption

See also