Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . accessanalyzer ]

get-analyzer

Description

Retrieves information about the specified analyzer.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-analyzer
--analyzer-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--analyzer-name (string)

The name of the analyzer retrieved.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

analyzer -> (structure)

An AnalyzerSummary object that contains information about the analyzer.

arn -> (string)

The ARN of the analyzer.

createdAt -> (timestamp)

A timestamp for the time at which the analyzer was created.

lastResourceAnalyzed -> (string)

The resource that was most recently analyzed by the analyzer.

lastResourceAnalyzedAt -> (timestamp)

The time at which the most recently analyzed resource was analyzed.

name -> (string)

The name of the analyzer.

status -> (string)

The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for IAM Access Analyzer from AWS Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.

statusReason -> (structure)

The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is displayed. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the AWS organization.

code -> (string)

The reason code for the current status of the analyzer.

tags -> (map)

The tags added to the analyzer.

key -> (string)

value -> (string)

type -> (string)

The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.