AWS SDK for .NET Documentation
TokenCode Property
AmazonAmazon.SecurityToken.ModelAssumeRoleRequestTokenCode Did this page help you?   Yes   No    Tell us about it...
Gets and sets the property TokenCode.

The value provided by the MFA device, if the trust policy of the role being assumed requires MFA (that is, if the policy includes a condition that tests for MFA). If the role being assumed requires MFA and if the

CopyC#
TokenCode
value is missing or expired, the
CopyC#
AssumeRole
call returns an "access denied" error.

Declaration Syntax
C#
public string TokenCode { get; set; }

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