lulo Cognito User Pool Client
lulo Cognito User Pool Client creates Clients for Amazon Cognito User Pools.
lulo Cognito User Pool Client is a lulo plugin
Installation
npm install lulo-plugin-cognito-user-pool-client --save
Usage
Properties
- UserPoolId: Id of the User Pool. Required.
- ClientName: Name of the client. Required.
- For further properties, see the AWS SDK Documentation for CognitoIdentityServiceProvider::createUserPoolClient
Return Values
Ref
When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the Client Id.
{ "Ref": "Client" }
Fn::GetAtt
ClientSecret If a ClientSecret is generated you can get it via
Fn::GetAtt["Client", "ClientSecret"]
Required IAM Permissions
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": "*"
}