anchor.diff:  == TODO
   
   . Generate Swagger endpoint for API
  -
  +. Create http://docs.aws.amazon.com/lambda/latest/dg/deploying-lambda-apps.html[Serverless Application Model] for the application
  
positive.code: = Couchbase Microservice HTTP Endpoint
  
  This document explains how to use AWS API Gateway and AWS Lambda to create a simple microservice. The Lambda function uses Java and the data is stored in Couchbase running in EC2.
  
  == IAM Roles
  
  
negative.code: 
  . Create a new IAM role: `aws iam create-role --role-name microserviceRole --assume-role-policy-document file://./trust.json`
  . Attach policy to the role: `aws iam put-role-policy --role-name microserviceRole --policy-name microPolicy --policy-document file://./policy.json`
  
  More details: http://docs.aws.amazon.com/apigateway/latest/developerguide/setting-up.html
  
  == Lambda Functions
  
  