コード例 #1
0
        public void ElasticLoadBalancingSetLoadBalancerPoliciesForBackendServer()
        {
            #region elb-set-load-balancer-policies-for-backend-server-1

            var client   = new AmazonElasticLoadBalancingClient();
            var response = client.SetLoadBalancerPoliciesForBackendServer(new SetLoadBalancerPoliciesForBackendServerRequest
            {
                InstancePort     = 80,
                LoadBalancerName = "my-load-balancer",
                PolicyNames      = new List <string> {
                    "my-ProxyProtocol-policy"
                }
            });


            #endregion
        }