lulo Cognito User Pool Client creates Clients for Amazon Cognito User Pools.
lulo Cognito User Pool Client is a lulo plugin
npm install lulo-plugin-cognito-user-pool-client --save
- UserPoolId: Id of the User Pool. Required.
- ClientName: Name of the client. Required.
- For further properties, see the AWS SDK Documentation for CognitoIdentityServiceProvider::createUserPoolClient
When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the Client Id.
{ "Ref": "Client" }
ClientSecret If a ClientSecret is generated you can get it via
Fn::GetAtt["Client", "ClientSecret"]
The Custom Resource Lambda requires the following permissions for this plugin to work:
{
"Effect": "Allow",
"Action": [
"cognito-idp:CreateUserPoolClient",
"cognito-idp:UpdateUserPoolClient",
"cognito-idp:DeleteUserPoolClient"
],
"Resource": "*"
}