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.

Describes an association between an IAM instance profile and an instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.IamInstanceProfileAssociation

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

Syntax

C#
public class IamInstanceProfileAssociation

The IamInstanceProfileAssociation type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AssociationId System.String

Gets and sets the property AssociationId.

The ID of the association.

Public Property IamInstanceProfile Amazon.EC2.Model.IamInstanceProfile

Gets and sets the property IamInstanceProfile.

The IAM instance profile.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The ID of the instance.

Public Property State Amazon.EC2.IamInstanceProfileAssociationState

Gets and sets the property State.

The state of the association.

Public Property Timestamp System.DateTime

Gets and sets the property Timestamp.

The time the IAM instance profile was associated with the instance.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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