Create a new stickiness policy for a load balancer, whereby the load balancer automatically generates cookies that it uses to route requests from each user to the same back end instance. this type of policy can only be associated with http or https listeners.
eulb-create-lb-cookie-stickiness-policy -e SECONDS -p POLICY [--region USER@REGION | -U URL] [-I KEY_ID] [-S KEY] [--debug] [--debugger] [--version] [-h] ELB
Create a new stickiness policy for a load balancer, whereby the load balancer automatically generates cookies that it uses to route requests from each user to the same back end instance. This type of policy can only be associated with HTTP or HTTPS listeners.
ELB
name of the load balancer to modify (required)
-e SECONDS, --expiration-period SECONDS
time period after which cookies should be considered stale (default: user's session length) (required)
-p POLICY, --policy-name POLICY
name of the new policy (required)
--region USER@REGION
name of the region and/or user in config files to use to connect to the service
-U URL, --url URL
load balancing service endpoint URL -I KEY_ID, --access-key-id KEY_ID -S KEY, --secret-key KEY
--debug
show debugging output
--debugger
launch interactive debugger on error
--version
show the program's version and exit
-h, --help
show this help message and exit