You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AccessAnalyzer::Types::CreateAnalyzerRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateAnalyzerRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  analyzer_name: "Name", # required
  archive_rules: [
    {
      filter: { # required
        "String" => {
          contains: ["String"],
          eq: ["String"],
          exists: false,
          neq: ["String"],
        },
      },
      rule_name: "Name", # required
    },
  ],
  client_token: "String",
  tags: {
    "String" => "String",
  },
  type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION
}

Creates an analyzer.

Instance Attribute Summary collapse

Instance Attribute Details

#analyzer_nameString

The name of the analyzer to create.

Returns:

  • (String)

    The name of the analyzer to create.

#archive_rulesArray<Types::InlineArchiveRule>

Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.

Returns:

#client_tokenString

A client token.

Returns:

  • (String)

    A client token.

#tagsHash<String,String>

The tags to apply to the analyzer.

Returns:

  • (Hash<String,String>)

    The tags to apply to the analyzer.

#typeString

The type of analyzer to create. Only ACCOUNT analyzers are supported. You can create only one analyzer per account per Region.

Possible values:

  • ACCOUNT
  • ORGANIZATION

Returns:

  • (String)

    The type of analyzer to create.