Table of Contents

Class AssumeRoleAWSCredentialsOptions

Namespace
Amazon.Runtime
Assembly
AWSSDK.Core.dll
public class AssumeRoleAWSCredentialsOptions
Inheritance
AssumeRoleAWSCredentialsOptions
Inherited Members

Constructors

AssumeRoleAWSCredentialsOptions()

public AssumeRoleAWSCredentialsOptions()

Properties

DurationSeconds

The length of time in seconds before the credentials will expire.

public int? DurationSeconds { get; set; }

Property Value

int?

ExternalId

A unique identifier that is used by third parties when assuming roles in their customers' accounts.

public string ExternalId { get; set; }

Property Value

string

MfaSerialNumber

The identification number of the MFA device that is associated with the user who is making the assume-role call.

public string MfaSerialNumber { get; set; }

Property Value

string

MfaTokenCode

The value provided by the MFA device, if the trust policy of the role being assumed requires MFA.

public string MfaTokenCode { get; }

Property Value

string

MfaTokenCodeCallback

A callback that's used to obtain the MFA token code when the AssumeRoleAWSCredentials are refreshed.

public Func<string> MfaTokenCodeCallback { get; set; }

Property Value

Func<string>

Policy

An IAM policy in JSON format.

public string Policy { get; set; }

Property Value

string

ProxySettings

The proxy settings to use when calling AssumeRole.

public IWebProxy ProxySettings { get; set; }

Property Value

IWebProxy

SourceIdentity

The source identity specified by the principal that is calling the

AssumeRole
operation.
public string SourceIdentity { get; set; }

Property Value

string