Skip to content

/AWS1/CL_ELB=>APPLYSECGROUPSTOLOADBALANCER()

About ApplySecurityGroupsToLoadBalancer

Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.

For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/ELBACCESSPOINTNAME /AWS1/ELBACCESSPOINTNAME

The name of the load balancer.

IT_SECURITYGROUPS TYPE /AWS1/CL_ELBSECURITYGROUPS_W=>TT_SECURITYGROUPS TT_SECURITYGROUPS

The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ELBAPPLYSECGRSTOLOA01 /AWS1/CL_ELBAPPLYSECGRSTOLOA01