Deploy a Node.JS project to AWS as a lambda microservice, optionally updating APIs/event hooks.
claudia [command] {OPTIONS}
create
Create the initial lambda function and related security role.update
Deploy a new version of the Lambda function using project files, update any associated web APIslist
List published versions of a functionset-version
Create or update a lambda alias/api stage to point to the latest deployed versionpack
Package a zip file for uploading to Lambda with all the required NPM dependencies, without deploying it anywhere.add-cognito-user-pool-trigger
Configures the Lambda to run on a Cognito User Pool triggeradd-iot-topic-rule
Creates an IOT topic rule and configures the Lambda to run when a message is published on a matching IOT Gateway topicadd-kinesis-event-source
Set up Kinesis Data Stream event triggersadd-s3-event-source
Add a notification event to Lambda when a file is added to a S3 bucket, and set up access permissionsadd-sns-event-source
Add a notification event to Lambda when a message is published on a SNS topicadd-sqs-event-source
Set up SQS event triggersallow-alexa-skill-trigger
Allow Alexa Skill triggersset-cloudfront-trigger
Set up Lambda@Edge CloudFront behavior event triggersadd-scheduled-event
Add a recurring notification eventtest-lambda
Execute the lambda function and print out the responsedestroy
Undeploy the lambda function and destroy the API and security rolesgenerate-serverless-express-proxy
Create a lambda proxy API wrapper for an express app using aws-serverless-expresstag
Add tags (key-value pairs) to the lambda function and any associated web API
- --help print this help screen
- --version print out the current version
- --quiet suppress output when executing commands
- --profile set AWS credentials profile
- --sts-role-arn set AWS STS Role for token-based authentication
- --mfa-serial set AWS MFA Serial Number (requires --sts-role-arn)
- --mfa-token set AWS MFA Token Code (requires --sts-role-arn)
- --mfa-duration set AWS MFA Duration in seconds (requires --sts-role-arn). Defaults to 3600
- --aws-client-timeout The number of milliseconds to wait before connection time out on AWS SDK Client. Defaults to two minutes (120000)
- --proxy set HTTP proxy for AWS commands
Run with a command name to see options of a specific command, for example:
claudia create --help