Skip to content

List Analyzed Resources

accessanalyzer_list_analyzed_resources R Documentation

Retrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer

Description

Retrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers.

Usage

accessanalyzer_list_analyzed_resources(analyzerArn, resourceType,
  nextToken, maxResults)

Arguments

analyzerArn

[required] The ARN of the analyzer to retrieve a list of analyzed resources from.

resourceType

The type of resource.

nextToken

A token used for pagination of results returned.

maxResults

The maximum number of results to return in the response.

Value

A list with the following syntax:

list(
  analyzedResources = list(
    list(
      resourceArn = "string",
      resourceOwnerAccount = "string",
      resourceType = "AWS::S3::Bucket"|"AWS::IAM::Role"|"AWS::SQS::Queue"|"AWS::Lambda::Function"|"AWS::Lambda::LayerVersion"|"AWS::KMS::Key"|"AWS::SecretsManager::Secret"|"AWS::EFS::FileSystem"|"AWS::EC2::Snapshot"|"AWS::ECR::Repository"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBClusterSnapshot"|"AWS::SNS::Topic"|"AWS::S3Express::DirectoryBucket"|"AWS::DynamoDB::Table"|"AWS::DynamoDB::Stream"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_analyzed_resources(
  analyzerArn = "string",
  resourceType = "AWS::S3::Bucket"|"AWS::IAM::Role"|"AWS::SQS::Queue"|"AWS::Lambda::Function"|"AWS::Lambda::LayerVersion"|"AWS::KMS::Key"|"AWS::SecretsManager::Secret"|"AWS::EFS::FileSystem"|"AWS::EC2::Snapshot"|"AWS::ECR::Repository"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBClusterSnapshot"|"AWS::SNS::Topic"|"AWS::S3Express::DirectoryBucket"|"AWS::DynamoDB::Table"|"AWS::DynamoDB::Stream",
  nextToken = "string",
  maxResults = 123
)