CmdID / aws / aws inspector2
aws inspector2 start-on-demand-scan
Starts an on-demand scan of the specified resource, such as an Amazon Machine Image (AMI). AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--client-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--resource-idThe ID of the resource to scan on demand.--resource-typeThe type of the resource to scan on demand.