Skip to content

Update Analyzer

accessanalyzer_update_analyzer R Documentation

Modifies the configuration of an existing analyzer

Description

Modifies the configuration of an existing analyzer.

This action is not supported for external access analyzers.

Usage

accessanalyzer_update_analyzer(analyzerName, configuration)

Arguments

analyzerName

[required] The name of the analyzer to modify.

configuration

Contains information about the configuration of an analyzer for an Amazon Web Services organization or account.

Value

A list with the following syntax:

list(
  configuration = list(
    unusedAccess = list(
      unusedAccessAge = 123,
      analysisRule = list(
        exclusions = list(
          list(
            accountIds = list(
              "string"
            ),
            resourceTags = list(
              list(
                "string"
              )
            )
          )
        )
      )
    ),
    internalAccess = list(
      analysisRule = list(
        inclusions = list(
          list(
            accountIds = list(
              "string"
            ),
            resourceTypes = list(
              "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"|"AWS::IAM::User"
            ),
            resourceArns = list(
              "string"
            )
          )
        )
      )
    )
  )
)

Request syntax

svc$update_analyzer(
  analyzerName = "string",
  configuration = list(
    unusedAccess = list(
      unusedAccessAge = 123,
      analysisRule = list(
        exclusions = list(
          list(
            accountIds = list(
              "string"
            ),
            resourceTags = list(
              list(
                "string"
              )
            )
          )
        )
      )
    ),
    internalAccess = list(
      analysisRule = list(
        inclusions = list(
          list(
            accountIds = list(
              "string"
            ),
            resourceTypes = list(
              "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"|"AWS::IAM::User"
            ),
            resourceArns = list(
              "string"
            )
          )
        )
      )
    )
  )
)