| 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 |
Network.AWS.OpsWorks.AttachElasticLoadBalancer
Description
Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing .
Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
- attachElasticLoadBalancer :: Text -> Text -> AttachElasticLoadBalancer
- data AttachElasticLoadBalancer
- aelbElasticLoadBalancerName :: Lens' AttachElasticLoadBalancer Text
- aelbLayerId :: Lens' AttachElasticLoadBalancer Text
- attachElasticLoadBalancerResponse :: AttachElasticLoadBalancerResponse
- data AttachElasticLoadBalancerResponse
Creating a Request
attachElasticLoadBalancer Source #
Arguments
| :: Text | |
| -> Text | |
| -> AttachElasticLoadBalancer |
Creates a value of AttachElasticLoadBalancer with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aelbElasticLoadBalancerName- The Elastic Load Balancing instance's name.aelbLayerId- The ID of the layer that the Elastic Load Balancing instance is to be attached to.
data AttachElasticLoadBalancer Source #
See: attachElasticLoadBalancer smart constructor.
Instances
Request Lenses
aelbElasticLoadBalancerName :: Lens' AttachElasticLoadBalancer Text Source #
The Elastic Load Balancing instance's name.
aelbLayerId :: Lens' AttachElasticLoadBalancer Text Source #
The ID of the layer that the Elastic Load Balancing instance is to be attached to.
Destructuring the Response
attachElasticLoadBalancerResponse :: AttachElasticLoadBalancerResponse Source #
Creates a value of AttachElasticLoadBalancerResponse with the minimum fields required to make a request.
data AttachElasticLoadBalancerResponse Source #
See: attachElasticLoadBalancerResponse smart constructor.
Instances