AWS SDK for .NET Documentation
InstanceProfile Class
AmazonAmazon.IdentityManagement.ModelInstanceProfile Did this page help you?   Yes   No    Tell us about it...
The InstanceProfile data type contains information about an instance profile.

This data type is used as a response element in the following actions:

Declaration Syntax
C#
public class InstanceProfile
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
InstanceProfile()()()()
Initializes a new instance of the InstanceProfile class

Arn
Gets and sets the property Arn.

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see Identifiers for IAM Entities in Using AWS Identity and Access Management.


CreateDate
Gets and sets the property CreateDate.

The date when the instance profile was created.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InstanceProfileId
Gets and sets the property InstanceProfileId.

The stable and unique string identifying the instance profile. For more information about IDs, see Identifiers for IAM Entities in Using AWS Identity and Access Management.


InstanceProfileName
Gets and sets the property InstanceProfileName.

The name identifying the instance profile.


Path
Gets and sets the property Path.

Path to the instance profile. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.


Roles
Gets and sets the property Roles.

The role associated with the instance profile.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithArn(String) Obsolete.
Sets the Arn property

WithCreateDate(DateTime) Obsolete.
Sets the CreateDate property

WithInstanceProfileId(String) Obsolete.
Sets the InstanceProfileId property

WithInstanceProfileName(String) Obsolete.
Sets the InstanceProfileName property

WithPath(String) Obsolete.
Sets the Path property

WithRoles(array<Role>[]()[][]) Obsolete.
Sets the Roles property

WithRoles(IEnumerable<(Of <<'(Role>)>>)) Obsolete.
Sets the Roles property

Inheritance Hierarchy
Object
InstanceProfile

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