'Generates a stickiness policy with sticky session lifetimes that follow
that of an application-generated cookie. This policy can only be
associated with HTTP listeners.
This policy is similar to the policy created by
CreateLBCookieStickinessPolicy, except that the lifetime of the special
Elastic Load Balancing cookie follows the lifetime of the
application-generated cookie specified in the policy configuration. The
load balancer only inserts a new stickiness cookie when the application
response includes a new application cookie.
If the application cookie is explicitly removed or expires, the session
stops being sticky until a new application cookie is issued.'

def create_app_cookie_stickiness_policy(self, name, lb_name, policy_name):

    params = {'CookieName': name, 'LoadBalancerName': lb_name, 'PolicyName': policy_name}
    return self.get_status('CreateAppCookieStickinessPolicy', params)
