delete_image - Amazon ParallelCluster
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

delete_image

delete_image(image_id, region, force)

Delete an image in a given Region.

Parameters:
image_id (required)

The image ID.

region

The image Amazon Web Services Region.

force

If set to True, Amazon ParallelCluster forces deletion if instances are using the AMI or if the AMI is shared. The default is False.