コード例 #1
0
        public void ElasticLoadBalancingCreateLBCookieStickinessPolicy()
        {
            #region elb-create-lb-cookie-stickiness-policy-1

            var client   = new AmazonElasticLoadBalancingClient();
            var response = client.CreateLBCookieStickinessPolicy(new CreateLBCookieStickinessPolicyRequest
            {
                CookieExpirationPeriod = 60,
                LoadBalancerName       = "my-load-balancer",
                PolicyName             = "my-duration-cookie-policy"
            });


            #endregion
        }