libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.SetLoadBalancerPoliciesForBackendServer

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 Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support in the Classic Load Balancers Guide.

Synopsis

Creating a Request

data SetLoadBalancerPoliciesForBackendServer Source #

Contains the parameters for SetLoadBalancerPoliciesForBackendServer.

See: newSetLoadBalancerPoliciesForBackendServer smart constructor.

Constructors

SetLoadBalancerPoliciesForBackendServer' 

Fields

  • loadBalancerName :: Text

    The name of the load balancer.

  • instancePort :: Int

    The port number associated with the EC2 instance.

  • policyNames :: [Text]

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

Instances

Instances details
Eq SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Read SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Show SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Generic SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

NFData SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Hashable SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

AWSRequest SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

ToHeaders SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

ToPath SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

ToQuery SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServer = D1 ('MetaData "SetLoadBalancerPoliciesForBackendServer" "Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "SetLoadBalancerPoliciesForBackendServer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "instancePort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "policyNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse SetLoadBalancerPoliciesForBackendServer Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

newSetLoadBalancerPoliciesForBackendServer Source #

Create a value of SetLoadBalancerPoliciesForBackendServer 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:loadBalancerName:SetLoadBalancerPoliciesForBackendServer', setLoadBalancerPoliciesForBackendServer_loadBalancerName - The name of the load balancer.

$sel:instancePort:SetLoadBalancerPoliciesForBackendServer', setLoadBalancerPoliciesForBackendServer_instancePort - The port number associated with the EC2 instance.

$sel:policyNames:SetLoadBalancerPoliciesForBackendServer', setLoadBalancerPoliciesForBackendServer_policyNames - The names of the policies. If the list is empty, then all current polices are removed from the EC2 instance.

Request Lenses

setLoadBalancerPoliciesForBackendServer_policyNames :: 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

data SetLoadBalancerPoliciesForBackendServerResponse Source #

Contains the output of SetLoadBalancerPoliciesForBackendServer.

See: newSetLoadBalancerPoliciesForBackendServerResponse smart constructor.

Constructors

SetLoadBalancerPoliciesForBackendServerResponse' 

Fields

Instances

Instances details
Eq SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Read SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Show SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

Generic SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

NFData SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServerResponse Source # 
Instance details

Defined in Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer

type Rep SetLoadBalancerPoliciesForBackendServerResponse = D1 ('MetaData "SetLoadBalancerPoliciesForBackendServerResponse" "Amazonka.ELB.SetLoadBalancerPoliciesForBackendServer" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "SetLoadBalancerPoliciesForBackendServerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSetLoadBalancerPoliciesForBackendServerResponse Source #

Create a value of SetLoadBalancerPoliciesForBackendServerResponse 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:httpStatus:SetLoadBalancerPoliciesForBackendServerResponse', setLoadBalancerPoliciesForBackendServerResponse_httpStatus - The response's http status code.

Response Lenses