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
- Struct
- Aws::AccessAnalyzer::Types::CreateAnalyzerRequest
- Defined in:
- (unknown)
Overview
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
-
#analyzer_name ⇒ String
The name of the analyzer to create.
-
#archive_rules ⇒ Array<Types::InlineArchiveRule>
Specifies the archive rules to add for the analyzer.
-
#client_token ⇒ String
A client token.
-
#tags ⇒ Hash<String,String>
The tags to apply to the analyzer.
-
#type ⇒ String
The type of analyzer to create.
Instance Attribute Details
#analyzer_name ⇒ String
The name of the analyzer to create.
#archive_rules ⇒ Array<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.
#client_token ⇒ String
A client token.
#tags ⇒ Hash<String,String>
The tags to apply to the analyzer.
#type ⇒ String
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