serverless/docs/resources-cf-json.md
2015-09-18 11:14:46 -05:00

1.1 KiB

This is the JAWS CloudFormation resources file. It contains things like the IAM roles for JAWS lambda functions and API Gateway endpoints.

AWSM: Amazon Web Services Modules can merge data into this file by implementing the resources,LambdaIamPolicyDocumentStatements,and ApiGatewayIamPolicyDocumentStatements attribute in the awsm.json.

The following CloudFormation Parameters are standardized JAWS project variables that all aws-module CloudFormation templates should utilize via Ref. Note: aa is used so they show up at top of CloudFormation web UI:

  • aaHostedZone
  • aaStage
  • aaProjectName
  • aaDataModelStage what's this?
  • aaNotficationEmail
  • aaDefaultDynamoRWThroughput

The following are CloudFormation Resource names that aws-module creators can Ref in their CF Templates:

  • IamRoleLambda
  • IamRoleApiGateway