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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-accessanalyzer/types.rb

Overview

Creates an analyzer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analyzer_nameString

The name of the analyzer to create.

Returns:

  • (String)


1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1028

class CreateAnalyzerRequest < Struct.new(
  :analyzer_name,
  :type,
  :archive_rules,
  :tags,
  :client_token,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#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:



1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1028

class CreateAnalyzerRequest < Struct.new(
  :analyzer_name,
  :type,
  :archive_rules,
  :tags,
  :client_token,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A client token.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1028

class CreateAnalyzerRequest < Struct.new(
  :analyzer_name,
  :type,
  :archive_rules,
  :tags,
  :client_token,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#configurationTypes::AnalyzerConfiguration

Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this field is not used.



1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1028

class CreateAnalyzerRequest < Struct.new(
  :analyzer_name,
  :type,
  :archive_rules,
  :tags,
  :client_token,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

An array of key-value pairs to apply to the analyzer.

Returns:

  • (Hash<String,String>)


1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1028

class CreateAnalyzerRequest < Struct.new(
  :analyzer_name,
  :type,
  :archive_rules,
  :tags,
  :client_token,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of analyzer to create. Only ‘ACCOUNT`, `ORGANIZATION`, `ACCOUNT_UNUSED_ACCESS`, and `ORGANIZATION_UNUSED_ACCESS` analyzers are supported. You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.

Returns:

  • (String)


1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 1028

class CreateAnalyzerRequest < Struct.new(
  :analyzer_name,
  :type,
  :archive_rules,
  :tags,
  :client_token,
  :configuration)
  SENSITIVE = []
  include Aws::Structure
end