Credentials that are retrieved from the Instance Profile service on an EC2 instance
Declaration Syntax
C# |
public class InstanceProfileAWSCredentials : RefreshingAWSCredentials
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
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) | (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 |