serverless/docs/jaws-json.md
2015-09-18 11:12:12 -05:00

932 B

jaws.json

See project jaws.json example here

The jaws.json file contains project configuration and authorship details. It defines things like the project's stages and regions within each stage, like in this example.

Common jaws.json attributes

The following attributes should exist in either a project or lambda jaws.json at the top level

  • name: project/module or lambda action name
  • version: project/module or lambda Semantic Versioning number.
  • location: project/module or lambda scm url (if exists)
  • author: John Serverless <john@gmail.com> http://www.john.com
  • description: project/module or lambda desc.
  • stages: map of all your stages, and regions those stages are in as well as IAM roles
  • jawsBuckets: map of region to bucket name for JAWS S3 bucket in the region