startCisSession

Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.

Samples


fun main() { 
   //sampleStart 
   // Sample SendCisSessionHealth Call
val resp = inspector2Client.startCisSession {
    scanJobId = "624b746d-e080-44ae-8c1d-48e653365a38"
    message = StartCisSessionMessage {
        sessionToken = "624b746d-e080-44ae-8c1d-48e653365a31"
    }
} 
   //sampleEnd
}