Skip to content

Get Analyzed Resource

accessanalyzer_get_analyzed_resource R Documentation

Retrieves information about a resource that was analyzed

Description

Retrieves information about a resource that was analyzed.

Usage

accessanalyzer_get_analyzed_resource(analyzerArn, resourceArn)

Arguments

analyzerArn

[required] The ARN of the analyzer to retrieve information from.

resourceArn

[required] The ARN of the resource to retrieve information about.

Value

A list with the following syntax:

list(
  resource = list(
    resourceArn = "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",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    analyzedAt = as.POSIXct(
      "2015-01-01"
    ),
    updatedAt = as.POSIXct(
      "2015-01-01"
    ),
    isPublic = TRUE|FALSE,
    actions = list(
      "string"
    ),
    sharedVia = list(
      "string"
    ),
    status = "ACTIVE"|"ARCHIVED"|"RESOLVED",
    resourceOwnerAccount = "string",
    error = "string"
  )
)

Request syntax

svc$get_analyzed_resource(
  analyzerArn = "string",
  resourceArn = "string"
)