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)


1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1093

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:



1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1093

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)


1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1093

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.



1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1093

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. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:.

For the tag value, you can specify a value that is 0 to 256 characters in length.

Returns:

  • (Hash<String,String>)


1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1093

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)


1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 1093

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