lulo Cognito User Pool Group creates Groups for Amazon Cognito User Pools
lulo Cognito User Pools is a lulo plugin
npm install lulo-plugin-cognito-user-pool-group --save
- GroupName: Name of the group. Required. Update requires replacement.
- UserPoolId: Id of the User Pool. Required. Update requires replacement.
- For further properties, see the AWS SDK Documentation for CognitoIdentityServiceProvider::createUserPool
When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the GroupName.
{ "Ref": "UserPoolGroup" }
The Custom Resource Lambda requires the following permissions for this plugin to work:
{
"Effect": "Allow",
"Action": [
"cognito-idp:CreateGroup",
"cognito-idp:UpdateGroup",
"cognito-idp:DeleteGroup"
],
"Resource": "*"
}