put_metric_alarm-如何使用“等于阈值”的比较操作员在AWS -Python boto3中

发布于 2025-02-07 14:04:05 字数 328 浏览 2 评论 0原文

目前,我只能看到比较参数的可能值以下,是否有可能将Equaltophreshold用作比较操作员?

GreaterThanOrEqualToThreshold
GreaterThanThreshold
LessThanThreshold
LessThanOrEqualToThreshold
LessThanLowerOrGreaterThanUpperThreshold
LessThanLowerThreshold
GreaterThanUpperThreshold

假设我想在阈值值等于0 时创建一个警报,但是我看不到“均等”选项。我们还可以使用其他工作来完成这项工作吗?

Currently, I can see only below possible values for the Comparision parameter, is it possible for EqualToThreshold to be used as comparison operator?

GreaterThanOrEqualToThreshold
GreaterThanThreshold
LessThanThreshold
LessThanOrEqualToThreshold
LessThanLowerOrGreaterThanUpperThreshold
LessThanLowerThreshold
GreaterThanUpperThreshold

Suppose I want to create an alarm whenever the threshold value equals 0, but I do not see the "Equal" option. Is there any other work around we can use to make that work?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓬勃野心 2025-02-14 14:04:05

没有等于,但是在您的情况下,您可以使用:

LessThanOrEqualToThreshold of 0

而不是等于至0。

There is no Equal, but in your case you could use:

LessThanOrEqualToThreshold of 0

instead of Equal to 0.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文