AccessAnalyzer / Client / start_resource_scan

start_resource_scan#

AccessAnalyzer.Client.start_resource_scan(**kwargs)#

Immediately starts a scan of the policies applied to the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.start_resource_scan(
    analyzerArn='string',
    resourceArn='string',
    resourceOwnerAccount='string'
)
Parameters:
  • analyzerArn (string) –

    [REQUIRED]

    The ARN of the analyzer to use to scan the policies applied to the specified resource.

  • resourceArn (string) –

    [REQUIRED]

    The ARN of the resource to scan.

  • resourceOwnerAccount (string) – The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.

Returns:

None

Exceptions