aws:deleteImage – 刪除 Amazon Machine Image - AWS Systems Manager

aws:deleteImage – 刪除 Amazon Machine Image

刪除指定 Amazon Machine Image (AMI) 和所有相關的快照。

Input

此動作僅支援一個參數。如需更多資訊,請參閱 DeregisterImageDeleteSnapshot 文件。

YAML
name: deleteMyImage action: aws:deleteImage maxAttempts: 3 timeoutSeconds: 180 onFailure: Abort inputs: ImageId: ami-12345678
JSON
{ "name": "deleteMyImage", "action": "aws:deleteImage", "maxAttempts": 3, "timeoutSeconds": 180, "onFailure": "Abort", "inputs": { "ImageId": "ami-12345678" } }
ImageId

欲刪除的映像之 ID。

類型:字串

必要:是

輸出

None (無)