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)

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.

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
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_resource_scans(
  NextToken = "string",
  MaxResults = 123
)

Examples

## Not run: 
# This example shows how to list resource scans
svc$list_resource_scans()

## End(Not run)