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

The duration, in seconds, of the role session. The value can range from 900 seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set to 3600 seconds. An expiration can also be specified in the SAML authentication response's

CopyC#
NotOnOrAfter
value. The actual expiration time is whichever value is shorter.

Note:
The maximum duration for a session is 1 hour, and the minimum duration is 15 minutes, even if values outside this range are specified.
Declaration Syntax
C#
public int DurationSeconds { get; set; }

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