View a markdown version of this page

ImageScanState - EC2 Image Builder
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).

ImageScanState

Shows the vulnerability scan status for a specific image, and the reason for that status.

Contents

reason

The reason for the scan status for the image.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

status

The current state of vulnerability scans for the image. The scan starts as PENDING and moves through SCANNING and COLLECTING to COMPLETED. Image Builder sets the status to ABANDONED if the image reaches a terminal state before the scan finding collection completes. A scan can also end as FAILED or TIMED_OUT.

Type: String

Valid Values: PENDING | SCANNING | COLLECTING | COMPLETED | ABANDONED | FAILED | TIMED_OUT

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: