Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_ELB=>CREATELOADBALANCERPOLICY()

About CreateLoadBalancerPolicy

Creates a policy with the specified attributes for the specified load balancer.

Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/ELBACCESSPOINTNAME /AWS1/ELBACCESSPOINTNAME

The name of the load balancer.

IV_POLICYNAME TYPE /AWS1/ELBPOLICYNAME /AWS1/ELBPOLICYNAME

The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

IV_POLICYTYPENAME TYPE /AWS1/ELBPOLICYTYPENAME /AWS1/ELBPOLICYTYPENAME

The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

Optional arguments:

IT_POLICYATTRIBUTES TYPE /AWS1/CL_ELBPOLICYATTRIBUTE=>TT_POLICYATTRIBUTES TT_POLICYATTRIBUTES

The policy attributes.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ELBCRELOADBALANCERP01 /AWS1/CL_ELBCRELOADBALANCERP01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC