AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Inspector::Types::AssessmentTemplateFilter

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

Overview

Note:

When making an API call, you may pass AssessmentTemplateFilter data as a hash:

{
  name_pattern: "NamePattern",
  duration_range: {
    min_seconds: 1,
    max_seconds: 1,
  },
  rules_package_arns: ["Arn"],
}

Used as the request parameter in the ListAssessmentTemplates action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#duration_rangeTypes::DurationRange

For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate data type.



695
696
697
698
699
700
701
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 695

class AssessmentTemplateFilter < Struct.new(
  :name_pattern,
  :duration_range,
  :rules_package_arns)
  SENSITIVE = []
  include Aws::Structure
end

#name_patternString

For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type.

Returns:

  • (String)


695
696
697
698
699
700
701
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 695

class AssessmentTemplateFilter < Struct.new(
  :name_pattern,
  :duration_range,
  :rules_package_arns)
  SENSITIVE = []
  include Aws::Structure
end

#rules_package_arnsArray<String>

For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.

Returns:

  • (Array<String>)


695
696
697
698
699
700
701
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 695

class AssessmentTemplateFilter < Struct.new(
  :name_pattern,
  :duration_range,
  :rules_package_arns)
  SENSITIVE = []
  include Aws::Structure
end