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.



3064
3065
3066
3067
3068
3069
3070
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3064

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

#operatorString

The matching operator for a string condition expression.

Returns:

  • (String)


3064
3065
3066
3067
3068
3069
3070
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3064

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>)


3064
3065
3066
3067
3068
3069
3070
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3064

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