Class: Aws::MailManager::Types::RuleDmarcExpression

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

Overview

A DMARC policy expression. The condition matches if the given DMARC policy matches that of the incoming email.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#operatorString

The operator to apply to the DMARC policy of the incoming email.

Returns:

  • (String)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2907

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

#valuesArray<String>

The values to use for the given DMARC policy operator. For the operator EQUALS, if multiple values are given, they are evaluated as an OR. That is, if any of the given values match, the condition is deemed to match. For the operator NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, only if the email's DMARC policy is not equal to any of the given values, then the condition is deemed to match.

Returns:

  • (Array<String>)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2907

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