AWS SDK for .NET Documentation
ModifyLoadBalancerAttributes Method (modifyLoadBalancerAttributesRequest)
Amazon ► Amazon.ElasticLoadBalancing ► AmazonElasticLoadBalancingClient ► ModifyLoadBalancerAttributes(ModifyLoadBalancerAttributesRequest)
Did this page help you? Yes No Tell us about it...

Modifies the attributes of a specified load balancer.

You can modify the load balancer attributes, such as AccessLogs , ConnectionDraining , and CrossZoneLoadBalancing by either enabling or disabling them.

For information on cross-zone load balancing, see Request Routing and for information on connection draining, see Connection Draining in the Concepts section of the Elastic Load Balancer Developer Guide . For information on access logs, see Access Logs .

Declaration Syntax

C#

    public ModifyLoadBalancerAttributesResponse ModifyLoadBalancerAttributes(
    	ModifyLoadBalancerAttributesRequest modifyLoadBalancerAttributesRequest
    )

Parameters

modifyLoadBalancerAttributesRequest (ModifyLoadBalancerAttributesRequest)
  Container for the necessary parameters to execute the ModifyLoadBalancerAttributes service method on AmazonElasticLoadBalancing.

Return Value
The response from the ModifyLoadBalancerAttributes service method, as returned by AmazonElasticLoadBalancing.
Exceptions

Exception | Condition
--- | ---
InvalidConfigurationRequestException |
LoadBalancerAttributeNotFoundException |
LoadBalancerNotFoundException |

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)