Skip to content

/AWS1/CL_LSA=>ATTACHSTATICIP()

About AttachStaticIp

Attaches a static IP address to a specific Amazon Lightsail instance.

Method Signature

IMPORTING

Required arguments:

IV_STATICIPNAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of the static IP.

IV_INSTANCENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The instance name to which you want to attach the static IP address.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAATTACHSTATICIPRSLT /AWS1/CL_LSAATTACHSTATICIPRSLT