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