aws ec2 describe-image-references
Describes your Amazon Web Services resources that are referencing the specified images. AWS CLI reference
6 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--image-idsThe IDs of the images to check for resource references.--include-all-resource-typesSpecifies whether to check all supported Amazon Web Services resource types for image references.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.--resource-typesThe Amazon Web Services resource types to check for image references.