Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
title Order Service (Example3)
@Lambda OrderController
@EC2 <<BFF>> OrderService
@Cognito AuthService
group BusinessService {
  @DynamoDB OrderStore
  @SNS NotificationService
}
//`POST /orders`
orderId = OrderController.create(payload) {
  orderId = OrderService.create(payload) {
    token = AuthService.auth(apiKey)
    par {
      OrderStore.save(order)
      NotificationService.send(order)      
    }
  }
}

A full list of builtin icons:

...