amazonka-elb-1.3.1: Amazon Elastic Load Balancing SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ELB.ApplySecurityGroupsToLoadBalancer

Contents

Description

Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.

For more information, see Security Groups for Load Balancers in a VPC in the Elastic Load Balancing Developer Guide.

See: AWS API Reference for ApplySecurityGroupsToLoadBalancer.

Synopsis

Creating a Request

applySecurityGroupsToLoadBalancer Source

Creates a value of ApplySecurityGroupsToLoadBalancer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

asgtlbSecurityGroups :: Lens' ApplySecurityGroupsToLoadBalancer [Text] Source

The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.

Destructuring the Response

applySecurityGroupsToLoadBalancerResponse Source

Creates a value of ApplySecurityGroupsToLoadBalancerResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

asgtlbrsSecurityGroups :: Lens' ApplySecurityGroupsToLoadBalancerResponse [Text] Source

The IDs of the security groups associated with the load balancer.