publish.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Type: Application
  2. Name: timer-trigger-fc-event-java11
  3. Provider:
  4. - 阿里云
  5. Version: 0.0.1
  6. Description: 快速部署一个具备 定时器触发器 Event 类型的函数到阿里云函数计算
  7. HomePage: https://github.com/devsapp/start-fc
  8. Tags:
  9. - 函数计算
  10. - 新手入门
  11. Category: 新手入门
  12. Service:
  13. 函数计算:
  14. Runtime: Java11
  15. Authorities:
  16. - AliyunFCFullAccess
  17. Parameters:
  18. type: object
  19. additionalProperties: false # 不允许增加其他属性
  20. required: # 必填项
  21. - region
  22. - serviceName
  23. - functionName
  24. - payLoad
  25. - cronExpression
  26. properties:
  27. region:
  28. title: 地域
  29. type: string
  30. default: cn-hangzhou
  31. description: 创建应用所在的地区
  32. enum:
  33. - cn-beijing
  34. - cn-hangzhou
  35. - cn-shanghai
  36. - cn-qingdao
  37. - cn-zhangjiakou
  38. - cn-huhehaote
  39. - cn-shenzhen
  40. - cn-chengdu
  41. - cn-hongkong
  42. - ap-southeast-1
  43. - ap-southeast-2
  44. - ap-southeast-3
  45. - ap-southeast-5
  46. - ap-northeast-1
  47. - eu-central-1
  48. - eu-west-1
  49. - us-west-1
  50. - us-east-1
  51. - ap-south-1
  52. serviceName:
  53. title: 服务名
  54. type: string
  55. default: timer-trigger-quick-start
  56. description: 服务名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
  57. functionName:
  58. title: 函数名
  59. type: string
  60. default: timer-trigger-event-function-java11
  61. description: 数据预处理函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
  62. cronExpression:
  63. title: 时间触发器表达式
  64. type: string
  65. default: '@every 2m'
  66. description: 时间触发器表达式,支持两种设置:@every、cron 表达式
  67. payLoad:
  68. title: 触发器内容
  69. type: string
  70. default: TestPayload
  71. description: 代表触发器事件本身的输入内容