Skip to content

/AWS1/CL_ELB=>SETLOADBALANCERPOLFORBACKE00()

About SetLoadBalancerPoliciesForBackendServer

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.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/ELBACCESSPOINTNAME /AWS1/ELBACCESSPOINTNAME

The name of the load balancer.

IV_INSTANCEPORT TYPE /AWS1/ELBENDPOINTPORT /AWS1/ELBENDPOINTPORT

The port number associated with the EC2 instance.

IT_POLICYNAMES TYPE /AWS1/CL_ELBPOLICYNAMES_W=>TT_POLICYNAMES TT_POLICYNAMES

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ELBSETLOADBALANCERP01 /AWS1/CL_ELBSETLOADBALANCERP01