Skip to content

CloudFormationClient.start_resource_scan

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Starts a scan of the resources in this account in this Region. You can the status of a scan using the ListResourceScans API action.

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from collections.abc import Sequence
from rboto_cloudformation.types import (
    ScanFilter,
    StartResourceScanOutput,
)

Signature

async def start_resource_scan(
    *,
    client_request_token: str | None = None,
    scan_filters: Sequence[ScanFilter] | None = None,
) -> StartResourceScanOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
client_request_token No A unique identifier for this StartResourceScan 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.
scan_filters No The scan filters to use.

Output

StartResourceScanOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
resource_scan_id str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ScanFilter, StartResourceScanOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_cloudformation.exceptions:

ResourceScanInProgressError, ResourceScanLimitExceededError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model