amazonka-opsworks-1.3.3: Amazon OpsWorks 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.OpsWorks.AttachElasticLoadBalancer

Contents

Description

Attaches an Elastic Load Balancing load balancer to a specified layer. 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.

See: AWS API Reference for AttachElasticLoadBalancer.

Synopsis

Creating a Request

attachElasticLoadBalancer Source

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:

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.