Skip to content

List Resource Scans

cloudformation_list_resource_scans R Documentation

List the resource scans from newest to oldest

Description

List the resource scans from newest to oldest. By default it will return up to 10 resource scans.

Usage

cloudformation_list_resource_scans(NextToken, MaxResults,
  ScanTypeFilter)

Arguments

NextToken

A string that identifies the next page of resource scan results.

MaxResults

If the number of available results exceeds this maximum, the response includes a NextToken value that you can use for the NextToken parameter to get the next set of results. The default value is 10. The maximum value is 100.

ScanTypeFilter

The scan type that you want to get summary information about. The default is FULL.

Value

A list with the following syntax:

list(
  ResourceScanSummaries = list(
    list(
      ResourceScanId = "string",
      Status = "IN_PROGRESS"|"FAILED"|"COMPLETE"|"EXPIRED",
      StatusReason = "string",
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      PercentageCompleted = 123.0,
      ScanType = "FULL"|"PARTIAL"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_resource_scans(
  NextToken = "string",
  MaxResults = 123,
  ScanTypeFilter = "FULL"|"PARTIAL"
)