File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,18 @@ Parameters:
1212 AllowedAuthScopes :
1313 Type : CommaDelimitedList
1414 Description : The allowed OAuth scopes
15+ AccessTokenValidity :
16+ Type : Number
17+ Description : The time in minutes that the access token is valid
18+ Default : 10
19+ IdTokenValidity :
20+ Type : Number
21+ Description : The time in minutes that the ID token is valid
22+ Default : 10
23+ RefreshTokenValidityDays :
24+ Type : Number
25+ Description : The time in days that the refresh token is valid
26+ Default : 1
1527
1628Resources :
1729 CognitoUserPoolClient :
@@ -26,9 +38,9 @@ Resources:
2638 IdToken : minutes
2739 AccessToken : minutes
2840 RefreshToken : days
29- AccessTokenValidity : 10
30- IdTokenValidity : 10
31- RefreshTokenValidity : 1
41+ AccessTokenValidity : !Ref AccessTokenValidity
42+ IdTokenValidity : !Ref IdTokenValidity
43+ RefreshTokenValidity : !Ref RefreshTokenValidityDays
3244 AllowedOAuthFlowsUserPoolClient : true
3345 AllowedOAuthFlows :
3446 - client_credentials
You can’t perform that action at this time.
0 commit comments