start_resource_scan¶
Operation¶
start_resource_scan
async
¶
start_resource_scan(input: StartResourceScanInput, plugins: list[Plugin] | None = None) -> StartResourceScanOutput
Starts a scan of the resources in this account in this Region. You can
the status of a scan using the ListResourceScans API action.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
StartResourceScanInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
StartResourceScanOutput
|
An instance of |
Input¶
StartResourceScanInput
dataclass
¶
Bases: _SerdeShape
Dataclass for StartResourceScanInput structure.
Output¶
StartResourceScanOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for StartResourceScanOutput structure.
Attributes¶
resource_scan_id
class-attribute
instance-attribute
¶
resource_scan_id: str | None = ...
The Amazon Resource Name (ARN) of the resource scan. The format is
arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}.
An example is
arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.