libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Read AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Show 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 #

NFData AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Hashable AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

ToJSON AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

AWSRequest 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

type Rep AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

type Rep AttachElasticLoadBalancer = D1 ('MetaData "AttachElasticLoadBalancer" "Amazonka.OpsWorks.AttachElasticLoadBalancer" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "AttachElasticLoadBalancer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "elasticLoadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "layerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AttachElasticLoadBalancer Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

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:

$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_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
Eq AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Read AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Show AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Generic AttachElasticLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.AttachElasticLoadBalancer

Associated Types

type Rep AttachElasticLoadBalancerResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" '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.