Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 Classic Load Balancer Guide .
Synopsis
- applySecurityGroupsToLoadBalancer :: Text -> ApplySecurityGroupsToLoadBalancer
- data ApplySecurityGroupsToLoadBalancer
- asgtlbLoadBalancerName :: Lens' ApplySecurityGroupsToLoadBalancer Text
- asgtlbSecurityGroups :: Lens' ApplySecurityGroupsToLoadBalancer [Text]
- applySecurityGroupsToLoadBalancerResponse :: Int -> ApplySecurityGroupsToLoadBalancerResponse
- data ApplySecurityGroupsToLoadBalancerResponse
- asgtlbrsSecurityGroups :: Lens' ApplySecurityGroupsToLoadBalancerResponse [Text]
- asgtlbrsResponseStatus :: Lens' ApplySecurityGroupsToLoadBalancerResponse Int
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:
asgtlbLoadBalancerName
- The name of the load balancer.asgtlbSecurityGroups
- The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
data ApplySecurityGroupsToLoadBalancer Source #
Contains the parameters for ApplySecurityGroupsToLoadBalancer.
See: applySecurityGroupsToLoadBalancer
smart constructor.
Instances
Request Lenses
asgtlbLoadBalancerName :: Lens' ApplySecurityGroupsToLoadBalancer Text Source #
The name of the load balancer.
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:
asgtlbrsSecurityGroups
- The IDs of the security groups associated with the load balancer.asgtlbrsResponseStatus
- -- | The response status code.
data ApplySecurityGroupsToLoadBalancerResponse Source #
Contains the output of ApplySecurityGroupsToLoadBalancer.
See: applySecurityGroupsToLoadBalancerResponse
smart constructor.
Instances
Response Lenses
asgtlbrsSecurityGroups :: Lens' ApplySecurityGroupsToLoadBalancerResponse [Text] Source #
The IDs of the security groups associated with the load balancer.
asgtlbrsResponseStatus :: Lens' ApplySecurityGroupsToLoadBalancerResponse Int Source #
- - | The response status code.