AWS SDK for .NET Documentation
IAMInstanceProfileInfo Property
AmazonAmazon.EC2.UtilEC2MetadataIAMInstanceProfileInfo Did this page help you?   Yes   No    Tell us about it...
Returns information about the last time the instance profile was updated, including the instance's LastUpdated date, InstanceProfileArn, and InstanceProfileId.
Declaration Syntax
C#
public static IAMInfo IAMInstanceProfileInfo { get; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)