TokenValidityUnitsType - Amazon Cognito Identity Provider
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with AWS services in China.

TokenValidityUnitsType

The data type for TokenValidityUnits that specifics the time measurements for token validity.

Contents

AccessToken

A time unit in “seconds”, “minutes”, “hours” or “days” for the value in AccessTokenValidity, defaults to hours.

Type: String

Valid Values: seconds | minutes | hours | days

Required: No

IdToken

A time unit in “seconds”, “minutes”, “hours” or “days” for the value in IdTokenValidity, defaults to hours.

Type: String

Valid Values: seconds | minutes | hours | days

Required: No

RefreshToken

A time unit in “seconds”, “minutes”, “hours” or “days” for the value in RefreshTokenValidity, defaults to days.

Type: String

Valid Values: seconds | minutes | hours | days

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: