Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 862 Bytes

add-cognito-user-pool-trigger.md

File metadata and controls

23 lines (18 loc) · 862 Bytes

add-cognito-user-pool-trigger

Configures the Lambda to run on a Cognito User Pool trigger

Usage

claudia add-cognito-user-pool-trigger {OPTIONS}

Options

  • --user-pool-id: the Cognito User Pool ID
    • For example: us-east-1_2abcDEFG
  • --events: Names of triggers to set up (use comma to separate multiple events). See http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#updateUserPool-property for valid names
    • For example: PreSignUp,PreAuthentication
  • --version: (optional) Bind to a particular version
    • For example: production
    • Defaults to: latest version
  • --source: (optional) Directory with project files
    • Defaults to: current directory
  • --config: (optional) Config file containing the resource names
    • Defaults to: claudia.json