Class: Aws::AccessAnalyzer::Types::Criterion

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

Overview

Note:

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

{
  contains: ["String"],
  eq: ["String"],
  exists: false,
  neq: ["String"],
}

The criteria to use in the filter that defines the archive rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#containsArray<String>

A "contains" operator to match for the filter used to create the rule.

Returns:

  • (Array<String>)


434
435
436
437
438
439
440
441
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 434

class Criterion < Struct.new(
  :contains,
  :eq,
  :exists,
  :neq)
  SENSITIVE = []
  include Aws::Structure
end

#eqArray<String>

An "equals" operator to match for the filter used to create the rule.

Returns:

  • (Array<String>)


434
435
436
437
438
439
440
441
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 434

class Criterion < Struct.new(
  :contains,
  :eq,
  :exists,
  :neq)
  SENSITIVE = []
  include Aws::Structure
end

#existsBoolean

An "exists" operator to match for the filter used to create the rule.

Returns:

  • (Boolean)


434
435
436
437
438
439
440
441
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 434

class Criterion < Struct.new(
  :contains,
  :eq,
  :exists,
  :neq)
  SENSITIVE = []
  include Aws::Structure
end

#neqArray<String>

A "not equals" operator to match for the filter used to create the rule.

Returns:

  • (Array<String>)


434
435
436
437
438
439
440
441
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 434

class Criterion < Struct.new(
  :contains,
  :eq,
  :exists,
  :neq)
  SENSITIVE = []
  include Aws::Structure
end