How to update the access token expire time based on user group in aws cognito.
For a specific user group I need to assign different expiry time for access token
Can we use Lambda function to check the user role and update the aws access token expire time.