aws elb create-lb-cookie-stickiness-policy
Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--cookie-expiration-periodThe time period, in seconds, after which the cookie should be considered stale.--load-balancer-nameThe name of the load balancer.--policy-nameThe name of the policy being created.