Class: Aws::Inspector2::Types::CreateFilterRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

Defines the action that is to be applied to the findings that match the filter.

Returns:

  • (String)


2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2179

class CreateFilterRequest < Struct.new(
  :action,
  :description,
  :filter_criteria,
  :name,
  :reason,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the filter.

Returns:

  • (String)


2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2179

class CreateFilterRequest < Struct.new(
  :action,
  :description,
  :filter_criteria,
  :name,
  :reason,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#filter_criteriaTypes::FilterCriteria

Defines the criteria to be used in the filter for querying findings.



2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2179

class CreateFilterRequest < Struct.new(
  :action,
  :description,
  :filter_criteria,
  :name,
  :reason,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.

Returns:

  • (String)


2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2179

class CreateFilterRequest < Struct.new(
  :action,
  :description,
  :filter_criteria,
  :name,
  :reason,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

The reason for creating the filter.

Returns:

  • (String)


2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2179

class CreateFilterRequest < Struct.new(
  :action,
  :description,
  :filter_criteria,
  :name,
  :reason,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A list of tags for the filter.

Returns:

  • (Hash<String,String>)


2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2179

class CreateFilterRequest < Struct.new(
  :action,
  :description,
  :filter_criteria,
  :name,
  :reason,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end