CmdID / aws / aws accessanalyzer
aws accessanalyzer create-analyzer
Creates an analyzer for your account. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To create an analyzer
The following create-analyzer example creates an analyzer in your AWS account.
aws accessanalyzer create-analyzer --analyzer-name example --type ACCOUNTIdentify--analyzer-nameThe name of the analyzer to create.--typeThe type of analyzer to create.Its output
{
"arn": "arn:aws:access-analyzer:us-west-2:123456789012:analyzer/example"
}For more information, see Getting started with AWS Identity and Access Management Access Analyzer findings in the AWS IAM User Guide.
Options
--analyzer-nameThe name of the analyzer to create.--archive-rulesSpecifies the archive rules to add for the analyzer.--client-tokenA client token.--configurationSpecifies the configuration of the analyzer.--tagsAn array of key-value pairs to apply to the analyzer.--typeThe type of analyzer to create.