Copyright | (c) 2013-2021 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 |
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.
You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
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.
Synopsis
- data AttachElasticLoadBalancer = AttachElasticLoadBalancer' {}
- newAttachElasticLoadBalancer :: Text -> Text -> AttachElasticLoadBalancer
- attachElasticLoadBalancer_elasticLoadBalancerName :: Lens' AttachElasticLoadBalancer Text
- attachElasticLoadBalancer_layerId :: Lens' AttachElasticLoadBalancer Text
- data AttachElasticLoadBalancerResponse = AttachElasticLoadBalancerResponse' {
- newAttachElasticLoadBalancerResponse :: AttachElasticLoadBalancerResponse
Creating a Request
data AttachElasticLoadBalancer Source #
See: newAttachElasticLoadBalancer
smart constructor.
AttachElasticLoadBalancer' | |
|
Instances
newAttachElasticLoadBalancer Source #
:: Text | |
-> Text | |
-> AttachElasticLoadBalancer |
Create a value of AttachElasticLoadBalancer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:elasticLoadBalancerName:AttachElasticLoadBalancer'
, attachElasticLoadBalancer_elasticLoadBalancerName
- The Elastic Load Balancing instance's name.
$sel:layerId:AttachElasticLoadBalancer'
, attachElasticLoadBalancer_layerId
- The ID of the layer to which the Elastic Load Balancing instance is to
be attached.
Request Lenses
attachElasticLoadBalancer_elasticLoadBalancerName :: Lens' AttachElasticLoadBalancer Text Source #
The Elastic Load Balancing instance's name.
attachElasticLoadBalancer_layerId :: Lens' AttachElasticLoadBalancer Text Source #
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
Destructuring the Response
data AttachElasticLoadBalancerResponse Source #
See: newAttachElasticLoadBalancerResponse
smart constructor.
Instances
newAttachElasticLoadBalancerResponse :: AttachElasticLoadBalancerResponse Source #
Create a value of AttachElasticLoadBalancerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.