amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.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.

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

Creating a Request

data AttachElasticLoadBalancer Source #

See: newAttachElasticLoadBalancer smart constructor.

Constructors

AttachElasticLoadBalancer' 

Fields

Instances

Instances details
ToJSON AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

ToHeaders AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

ToPath AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

ToQuery AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

AWSRequest AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Generic AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Associated Types

type Rep AttachElasticLoadBalancer :: Type -> Type #

Read AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Show AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

NFData AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Eq AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Hashable AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

type AWSResponse AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

type Rep AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

type Rep AttachElasticLoadBalancer = D1 ('MetaData "AttachElasticLoadBalancer" "Amazonka.OpsWorks.AttachElasticLoadBalancer" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "AttachElasticLoadBalancer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "elasticLoadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "layerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAttachElasticLoadBalancer Source #

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:

AttachElasticLoadBalancer, attachElasticLoadBalancer_elasticLoadBalancerName - The Elastic Load Balancing instance's name.

AttachElasticLoadBalancer, attachElasticLoadBalancer_layerId - The ID of the layer to which the Elastic Load Balancing instance is to be attached.

Request Lenses

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

Instances details
Generic AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Associated Types

type Rep AttachElasticLoadBalancerResponse :: Type -> Type #

Read AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Show AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

NFData AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Eq AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

type Rep AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

type Rep AttachElasticLoadBalancerResponse = D1 ('MetaData "AttachElasticLoadBalancerResponse" "Amazonka.OpsWorks.AttachElasticLoadBalancer" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "AttachElasticLoadBalancerResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAttachElasticLoadBalancerResponse :: AttachElasticLoadBalancerResponse Source #

Create a value of AttachElasticLoadBalancerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.