CmdID / aws / aws accessanalyzer
aws accessanalyzer get-analyzer
Retrieves information about the specified analyzer. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To retrieve information about the specified analyzer
The following get-analyzer example retrieves information about the specified analyzer in your AWS account.
aws accessanalyzer get-analyzer --analyzer-name ConsoleAnalyzer-accountIdentify--analyzer-nameThe name of the analyzer retrieved.Its output
{
"analyzer": {
"arn": "arn:aws:access-analyzer:us-west-2:123456789012:analyzer/ConsoleAnalyzer-account",
"createdAt": "2019-12-03T07:28:17+00:00",
"lastResourceAnalyzed": "arn:aws:sns:us-west-2:123456789012:config-topic",
"lastResourceAnalyzedAt": "2024-02-15T18:01:53.003000+00:00",
"name": "ConsoleAnalyzer-account",
"status": "ACTIVE",
"tags": {
"auto-delete": "no"
},
"type": "ACCOUNT"
}
}For more information, see Using AWS Identity and Access Management Access Analyzer in the AWS IAM User Guide.
Options
--analyzer-nameThe name of the analyzer retrieved.