aws iam get-instance-profile
Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--instance-profile-nameThe name of the instance profile to get information about.