AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Returns information about the last time the instance profile was updated, including the instance's LastUpdated date, InstanceProfileArn, and InstanceProfileId.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Util.IAMInfo

Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
[Obsolete("This class is deprecated and will be removed in a future release. Please update your code to use the Amazon.Util.IAMInstanceProfileMetadata class, located in the AWSSDK.Core assembly.")]
public class IAMInfo

The IAMInfo type exposes the following members

Constructors

NameDescription
Public Method IAMInfo()

Properties

NameTypeDescription
Public Property Code System.String

The status of the instance profile

Public Property InstanceProfileArn System.String

The Amazon Resource Name (ARN) of the instance profile

Public Property InstanceProfileId System.String

The Id of the instance profile

Public Property LastUpdated System.DateTime

The date and time the instance profile was updated

Public Property Message System.String

Further information about the status of the instance profile

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5