public void ElasticLoadBalancingModifyLoadBalancerAttributes() { #region elb-modify-load-balancer-attributes-1 var client = new AmazonElasticLoadBalancingClient(); var response = client.ModifyLoadBalancerAttributes(new ModifyLoadBalancerAttributesRequest { LoadBalancerAttributes = new LoadBalancerAttributes { CrossZoneLoadBalancing = new CrossZoneLoadBalancing { Enabled = true } }, LoadBalancerName = "my-load-balancer" }); LoadBalancerAttributes loadBalancerAttributes = response.LoadBalancerAttributes; string loadBalancerName = response.LoadBalancerName; #endregion }