Skip to content

/AWS1/CL_LSA=>GETINSTANCEACCESSDETAILS()

About GetInstanceAccessDetails

Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.

The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCENAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of the instance to access.

Optional arguments:

IV_PROTOCOL TYPE /AWS1/LSAINSTACCESSPROTOCOL /AWS1/LSAINSTACCESSPROTOCOL

The protocol to use to connect to your instance. Defaults to ssh.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSAGETINSTACCDETSRSLT /AWS1/CL_LSAGETINSTACCDETSRSLT