Migrate the user field and property map to Cognito attributes:
The current roles can be migrated across to Cognito groups.
There is not way to migrate groups using the Cognito user migration lambda process, however the roles can be migrated using another lambda that is triggered pre_token_generation. This should check if there are is a different between the Cognito user's groups and the old roles, if there is then add the user to the relevant groups.
Migrate the user field and property map to Cognito attributes:
The current roles can be migrated across to Cognito groups. There is not way to migrate groups using the Cognito user migration lambda process, however the roles can be migrated using another lambda that is triggered pre_token_generation. This should check if there are is a different between the Cognito user's groups and the old roles, if there is then add the user to the relevant groups.