AWS::Cognito::UserPoolClient TokenValidityUnits
The units in which the validity times are represented in. Default for RefreshToken is days, and default for ID and access tokens are hours.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AccessToken" :
String
, "IdToken" :String
, "RefreshToken" :String
}
YAML
AccessToken:
String
IdToken:String
RefreshToken:String
Properties
AccessToken
-
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in AccessTokenValidity, defaults to hours.
Required: No
Type: String
Update requires: No interruption
IdToken
-
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in IdTokenValidity, defaults to hours.
Required: No
Type: String
Update requires: No interruption
RefreshToken
-
A time unit in “seconds”, “minutes”, “hours” or “days” for the value in RefreshTokenValidity, defaults to days.
Required: No
Type: String
Update requires: No interruption