Amazon web services 如何在AWS Cognito中创建自定义角色并在Spring Boot应用程序中获取自定义角色权限

Amazon web services 如何在AWS Cognito中创建自定义角色并在Spring Boot应用程序中获取自定义角色权限,amazon-web-services,spring-boot,spring-security,amazon-cognito,user-roles,Amazon Web Services,Spring Boot,Spring Security,Amazon Cognito,User Roles,我想在AWS Cognito中创建自定义用户角色,如超级管理员、BGE管理员,还想在身份验证后获得此角色,并在具有spring security的spring boot应用程序中使用此角色进行授权。 提前谢谢

我想在AWS Cognito中创建自定义用户角色,如超级管理员、BGE管理员,还想在身份验证后获得此角色,并在具有spring security的spring boot应用程序中使用此角色进行授权。
提前谢谢