amazonka-elb-1.6.1: Amazon Elastic Load Balancing SDK.

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

Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Contents

Description

Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.

Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable.

You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance.

For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication in the Classic Load Balancer Guide . For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancer Guide .

Synopsis

Creating a Request

setLoadBalancerPoliciesForBackendServer Source #

Creates a value of SetLoadBalancerPoliciesForBackendServer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SetLoadBalancerPoliciesForBackendServer Source #

Contains the parameters for SetLoadBalancerPoliciesForBackendServer.

See: setLoadBalancerPoliciesForBackendServer smart constructor.

Instances
Eq SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Data SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetLoadBalancerPoliciesForBackendServer -> c SetLoadBalancerPoliciesForBackendServer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetLoadBalancerPoliciesForBackendServer #

toConstr :: SetLoadBalancerPoliciesForBackendServer -> Constr #

dataTypeOf :: SetLoadBalancerPoliciesForBackendServer -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SetLoadBalancerPoliciesForBackendServer) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetLoadBalancerPoliciesForBackendServer) #

gmapT :: (forall b. Data b => b -> b) -> SetLoadBalancerPoliciesForBackendServer -> SetLoadBalancerPoliciesForBackendServer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetLoadBalancerPoliciesForBackendServer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetLoadBalancerPoliciesForBackendServer -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetLoadBalancerPoliciesForBackendServer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetLoadBalancerPoliciesForBackendServer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetLoadBalancerPoliciesForBackendServer -> m SetLoadBalancerPoliciesForBackendServer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetLoadBalancerPoliciesForBackendServer -> m SetLoadBalancerPoliciesForBackendServer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetLoadBalancerPoliciesForBackendServer -> m SetLoadBalancerPoliciesForBackendServer #

Read SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Show SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Generic SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Hashable SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

AWSRequest SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

ToHeaders SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

ToPath SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

ToQuery SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

NFData SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServer = D1 (MetaData "SetLoadBalancerPoliciesForBackendServer" "Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" False) (C1 (MetaCons "SetLoadBalancerPoliciesForBackendServer'" PrefixI True) (S1 (MetaSel (Just "_slbpfbsLoadBalancerName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_slbpfbsInstancePort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_slbpfbsPolicyNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Request Lenses

slbpfbsInstancePort :: Lens' SetLoadBalancerPoliciesForBackendServer Int Source #

The port number associated with the EC2 instance.

slbpfbsPolicyNames :: Lens' SetLoadBalancerPoliciesForBackendServer [Text] Source #

The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.

Destructuring the Response

setLoadBalancerPoliciesForBackendServerResponse Source #

Creates a value of SetLoadBalancerPoliciesForBackendServerResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SetLoadBalancerPoliciesForBackendServerResponse Source #

Contains the output of SetLoadBalancerPoliciesForBackendServer.

See: setLoadBalancerPoliciesForBackendServerResponse smart constructor.

Instances
Eq SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Data SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetLoadBalancerPoliciesForBackendServerResponse -> c SetLoadBalancerPoliciesForBackendServerResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetLoadBalancerPoliciesForBackendServerResponse #

toConstr :: SetLoadBalancerPoliciesForBackendServerResponse -> Constr #

dataTypeOf :: SetLoadBalancerPoliciesForBackendServerResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SetLoadBalancerPoliciesForBackendServerResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetLoadBalancerPoliciesForBackendServerResponse) #

gmapT :: (forall b. Data b => b -> b) -> SetLoadBalancerPoliciesForBackendServerResponse -> SetLoadBalancerPoliciesForBackendServerResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetLoadBalancerPoliciesForBackendServerResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetLoadBalancerPoliciesForBackendServerResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetLoadBalancerPoliciesForBackendServerResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetLoadBalancerPoliciesForBackendServerResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetLoadBalancerPoliciesForBackendServerResponse -> m SetLoadBalancerPoliciesForBackendServerResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetLoadBalancerPoliciesForBackendServerResponse -> m SetLoadBalancerPoliciesForBackendServerResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetLoadBalancerPoliciesForBackendServerResponse -> m SetLoadBalancerPoliciesForBackendServerResponse #

Read SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Show SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

Generic SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

NFData SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServerResponse = D1 (MetaData "SetLoadBalancerPoliciesForBackendServerResponse" "Network.AWS.ELB.SetLoadBalancerPoliciesForBackendServer" "amazonka-elb-1.6.1-Ih5hIKrYl5yJOuBwSBSzZS" True) (C1 (MetaCons "SetLoadBalancerPoliciesForBackendServerResponse'" PrefixI True) (S1 (MetaSel (Just "_slbpfbsrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses