Class: Aws::MailManager::Types::RuleStringExpression

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

Overview

A string expression is evaluated against strings or substrings of the email.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#evaluateTypes::RuleStringToEvaluate

The string to evaluate in a string condition expression.



2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2957

class RuleStringExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The matching operator for a string condition expression.

Returns:

  • (String)


2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2957

class RuleStringExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

Returns:

  • (Array<String>)


2957
2958
2959
2960
2961
2962
2963
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2957

class RuleStringExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end