Skip to content

/AWS1/CL_IAM=>GETINSTANCEPROFILE()

About GetInstanceProfile

Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see Using instance profiles in the IAM User Guide.

Method Signature

IMPORTING

Required arguments:

IV_INSTANCEPROFILENAME TYPE /AWS1/IAMINSTPROFILENAMETYPE /AWS1/IAMINSTPROFILENAMETYPE

The name of the instance profile to get information about.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IAMGETINSTPROFILERSP /AWS1/CL_IAMGETINSTPROFILERSP