Skip to content

Start Resource Scan

cloudformation_start_resource_scan R Documentation

Starts a scan of the resources in this account in this Region

Description

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

Usage

cloudformation_start_resource_scan(ClientRequestToken, ScanFilters)

Arguments

ClientRequestToken

A unique identifier for this start_resource_scan request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to start a new resource scan.

ScanFilters

The scan filters to use.

Value

A list with the following syntax:

list(
  ResourceScanId = "string"
)

Request syntax

svc$start_resource_scan(
  ClientRequestToken = "string",
  ScanFilters = list(
    list(
      Types = list(
        "string"
      )
    )
  )
)