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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accessanalyzer/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)


966
967
968
969
970
971
972
973
974
975
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 966

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:



966
967
968
969
970
971
972
973
974
975
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 966

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)


966
967
968
969
970
971
972
973
974
975
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 966

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.



966
967
968
969
970
971
972
973
974
975
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 966

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>)


966
967
968
969
970
971
972
973
974
975
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 966

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)


966
967
968
969
970
971
972
973
974
975
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 966

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