AWS SDK for .NET Documentation
ApplySecurityGroupsToLoadBalancer Method (applySecurityGroupsToLoadBalancerRequest)
AmazonAmazon.ElasticLoadBalancingAmazonElasticLoadBalancingClientApplySecurityGroupsToLoadBalancer(ApplySecurityGroupsToLoadBalancerRequest) Did this page help you?   Yes   No    Tell us about it...

Associates one or more security groups with your load balancer in Amazon Virtual Private Cloud (Amazon VPC). The provided security group IDs will override any currently applied security groups.

For more information, see Manage Security Groups in Amazon VPC in the Elastic Load Balancing Developer Guide .

Declaration Syntax
C#
public ApplySecurityGroupsToLoadBalancerResponse ApplySecurityGroupsToLoadBalancer(
	ApplySecurityGroupsToLoadBalancerRequest applySecurityGroupsToLoadBalancerRequest
)
Parameters
applySecurityGroupsToLoadBalancerRequest (ApplySecurityGroupsToLoadBalancerRequest)
Container for the necessary parameters to execute the ApplySecurityGroupsToLoadBalancer service method on AmazonElasticLoadBalancing.
Return Value
The response from the ApplySecurityGroupsToLoadBalancer service method, as returned by AmazonElasticLoadBalancing.
Exceptions

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