CmdID

CmdID / aws / aws accessanalyzer

aws accessanalyzer start-resource-scan

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

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To immediately start a scan of the policies applied to the specified resource

The following start-resource-scan example mmediately starts a scan of the policies applied to the specified resource in your AWS account.

aws accessanalyzer start-resource-scan --analyzer-arn arn:aws:access-analyzer:us-west-2:123456789012:analyzer/ConsoleAnalyzer-account --resource-arn arn:aws:iam::123456789012:role/Cognito_testpoolAuth_RoleIdentify
--analyzer-arnThe ARN of the analyzer to use to scan the policies applied to the specified resource.
--resource-arnThe ARN of the resource to scan.

This command produces no output.

For more information, see IAM Access Analyzer policy generation in the AWS IAM User Guide.

Options

3 in the AWS CLI reference
--analyzer-arnThe ARN of the analyzer to use to scan the policies applied to the specified resource.
--resource-arnThe ARN of the resource to scan.
--resource-owner-accountThe Amazon Web Services account ID that owns the resource.