Amazon EC2 Image Builder · Arazzo Workflow
Amazon EC2 Image Builder Cancel Running Image Build
Version 1.0.0
Start an image build, inspect its state, and cancel it while it is still in a non-terminal state.
View Spec
View on GitHub
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine ImagesArazzoWorkflows
Provider
Workflows
cancel-running-image-build
Create an image and cancel it if it is still building, then confirm the cancellation.
Builds an image, checks its state, and conditionally cancels the build while it is non-terminal, finally re-reading the image to confirm the result.
1
createImage
CreateImage
Start a new image build that may later be cancelled while in flight.
2
getImage
GetImage
Read the image to determine whether it is still in a non-terminal state that can be cancelled.
3
cancelCreation
CancelImageCreation
Cancel the in-flight image build using its build version ARN.
4
confirmCancellation
GetImage
Re-read the image to confirm that the cancellation took effect.