如何删除所有不活跃的AWS Batch作业?

huangapple go评论53阅读模式
英文:

How can I delete all inactive AWS Batch jobs?

问题

我有一些旧的AWS Batch作业已被注销。在控制台中,它们会显示在AWS Batch > 作业定义下,当将筛选器设置为INACTIVE时。

我可以删除它们吗?

对于AWS ECR来说,类似的过程是"活动作业" -> 注销 -> "非活动" -> 删除 -> (消失)。AWS Batch是否有类似的功能?我希望能够清理一下。

英文:

I have old AWS Batch jobs that are deregistered. In the console, they show up under AWS Batch > Job definitions, when setting the filter to INACTIVE.

Can I delete those?

The analogous process for AWS ECR is "active job" -> deregister -> "inactive" -> delete -> (gone). Is there something similar for AWS Batch? I would love to clean up.

答案1

得分: 1

目前,没有API操作可以删除不活动的工作定义。工作定义将在180天后被永久删除。

英文:

Currently, there is not an API action to remove inactive job definitions. Job definitions are permanently deleted after 180 days.

huangapple
  • 本文由 发表于 2023年5月26日 00:18:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76334382.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定