AWS Lambda 调度率(0 分钟)

AWS Lambda schedule rate(0 minute)

我是Schedule Expressions Using Rate or Cron - AWS Lambda.

问题: rate(0 minute) 计划的 lambda 会重复开始执行还是 0 意味着永远不会?

正如文档中已经提到的:

Rate expression

rate(Value Unit)

Where:

Value can be a positive integer.

Unit can be minute(s), hour(s), or day(s).

请注意,该值可以是 正数 整数。从正整数的定义来看:

An integer is positive if it is greater than zero and negative if it is less than zero.

Zero is defined as neither negative nor positive.

因此根据这两个定义,将预定速率设置为零将不会调用 lambda 函数。