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)

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.

Value

A list with the following syntax:

list(
  ResourceScanId = "string"
)

Request syntax

svc$start_resource_scan(
  ClientRequestToken = "string"
)

Examples

## Not run: 
# This example shows how to start a new resource scan
svc$start_resource_scan()

## End(Not run)