Show / Hide Table of Contents

λ#

LambdaSharp Command Line

The LambdaSharp CLI is used to process the module definition, compile the C# projects, upload their packages to S3, generate a CloudFormation stack, and then create or update it. All operations are done in a single pass to facilitate greater productivity when building new LambdaSharp module. In addition, LambdaSharp uses a deterministic build process which enables it to skip updates when no code or configuration changes have occurred since the last deployment operation.

Build, Publish, and Deploy Commands

  1. build: build a module
  2. publish: publish a module
  3. deploy: deploy a module

Development Commands

  1. new module: create a new module
  2. new function: add a new function to a module
  3. new resource: add a new AWS resource to a module
  4. new public-bucket: create a public S3 bucket with Requester Pays access
  5. new expiring-bucket: create an expiring S3 bucket that self-deletes after expiration
  6. encrypt: encrypt a value with a managed encryption key
  7. list: list deployed modules
  8. info: show information about CLI setup

Setup Commands

  1. init: initialize LambdaSharp deployment tier

Tier Commands

  1. tier coreservices: show/update LambdaSharp Core Services configuration
  2. tier list: list all deployment tiers
  3. tier version: show the version of the deployment tier

Utility Commands

  1. util create-invoke-methods-schema: create JSON schema for compiled methods
  2. util delete-orphan-logs: delete orphaned Lambda CloudWatch logs
  3. util list-lambdas: list Lambda functions by CloudFormation stack
  4. util list-modules: list published LambdaSharp modules at an origin
  5. util show-kinesis-failed-logs: show the failed Kinesis Firehose records from the S3 logging bucket
  6. util show-parameters:
In This Article
Back to top Generated by DocFX