startResourceScan

abstract suspend fun startResourceScan(input: StartResourceScanRequest = StartResourceScanRequest { }): StartResourceScanResponse

Starts a scan of the resources in this account in this Region. You can the status of a scan using the ListResourceScans API action.

Samples

// This example shows how to start a new resource scan
val resp = cloudFormationClient.startResourceScan()