AWS SDK for .NET Documentation
InstanceProfileAWSCredentials Class
AmazonAmazon.RuntimeInstanceProfileAWSCredentials Did this page help you?   Yes   No    Tell us about it...
Credentials that are retrieved from the Instance Profile service on an EC2 instance
Declaration Syntax
C#
public class InstanceProfileAWSCredentials : RefreshingAWSCredentials
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
InstanceProfileAWSCredentials(String)
Constructs a InstanceProfileAWSCredentials object for specific role

InstanceProfileAWSCredentials()()()()
Constructs a InstanceProfileAWSCredentials object for the first found role

Dispose()()()() (Inherited from AWSCredentials.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetAvailableRoles()()()()
Retrieves a list of all roles available through current InstanceProfile service

GetCredentials()()()()
Returns an instance of ImmutableCredentials for this instance
(Inherited from RefreshingAWSCredentials.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
PreemptExpiryTime
The time before actual expiration to expire the credentials. Property cannot be set to a negative TimeSpan.
(Inherited from RefreshingAWSCredentials.)
Role
Role for which the credentials are retrieved

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
AWSCredentials
 RefreshingAWSCredentials
  InstanceProfileAWSCredentials

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