1 Answer
- Newest
- Most votes
- Most comments
0
Yes, you can configure AWS Cognito to use the roles of user groups for access evaluation using CDK. First, create a Cognito User Pool and add groups, each with a specific IAM role. Then, create a Cognito Identity Pool and associate it with the User Pool, configuring it to use the group roles.
Relevant content
asked 2 years ago

Do yo have a CDK code example for this use case ?
Can you elaborate on how to configure it to use the group roles? I suspect it has something to do with roleMappings but I have not found a clear example