/AWS1/CL_LSA=>OPENINSTANCEPUBLICPORTS()
¶
About OpenInstancePublicPorts¶
Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.
The OpenInstancePublicPorts
action supports tag-based access control via
resource tags applied to the resource identified by instanceName
. For more
information, see the Amazon Lightsail Developer Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_PORTINFO
TYPE REF TO /AWS1/CL_LSAPORTINFO
/AWS1/CL_LSAPORTINFO
¶
An object to describe the ports to open for the specified instance.
IV_INSTANCENAME
TYPE /AWS1/LSARESOURCENAME
/AWS1/LSARESOURCENAME
¶
The name of the instance for which to open ports.