s.yml 1.0KB

12345678910111213141516171819202122232425262728293031323334
  1. edition: 1.0.0 # 命令行YAML规范版本,遵循语义化版本(Semantic Versioning)规范。
  2. name: dianyang-app # 项目名称。
  3. access: default # 密钥别名。
  4. services:
  5. dianyang: # 服务名称。
  6. component: devsapp/fc
  7. props: # 组件的属性值。
  8. region: cn-shanghai
  9. service:
  10. name: dianyang-service
  11. description: 'All products for dianyang'
  12. internetAccess: true
  13. function:
  14. name: colmo-service
  15. description: 'colmo h5'
  16. ossBucket: yz-serverless
  17. ossKey: dianyang/colmo-1.0.3.zip
  18. handler: 'com.yunzhi.dianyang.SpringApplication::main'
  19. memorySize: 1024
  20. timeout: 30
  21. runtime: custom
  22. caPort: 9000
  23. initializationTimeout: 30
  24. triggers:
  25. - name: httpColmo
  26. type: http
  27. config:
  28. authType: anonymous
  29. methods:
  30. - GET
  31. - POST
  32. - PUT
  33. - DELETE