pcluster list-images
Retrieve the list of existing custom images.
pcluster list-images [-h] --image-status {AVAILABLE,PENDING,FAILED} [--debug] [--next-tokenNEXT_TOKEN] [--queryQUERY] [--regionREGION]
Named arguments
-h, --help-
Shows the help text for
pcluster list-images. --image-status {AVAILABLE,PENDING,FAILED}-
Filter returned images by the status provided.
--debug-
Enables debug logging.
--next-tokenNEXT_TOKEN-
The token for the next set of results.
--queryQUERY-
Specifies the JMESPath query to perform on the output.
--region, -rREGION-
Specifies the AWS Region to use. The AWS Region must be specified, using the
AWS_DEFAULT_REGIONenvironment variable, theregionsetting in the[default]section of the~/.aws/configfile, or the--regionparameter.
Example using AWS ParallelCluster version 3.1.2:
$pcluster list-images --image-statusAVAILABLE{ "images": [ { "imageId": "custom-alinux2-image", "imageBuildStatus": "BUILD_COMPLETE", "ec2AmiInfo": { "amiId": "ami-1234abcd5678efgh" }, "region": "us-east-1", "version": "3.1.2" } ] }