Class CfnMailManagerRuleSet.RuleDmarcExpressionProperty
A DMARC policy expression.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.RuleDmarcExpressionProperty : CfnMailManagerRuleSet.IRuleDmarcExpressionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.RuleDmarcExpressionProperty Implements CfnMailManagerRuleSet.IRuleDmarcExpressionProperty
Remarks
The condition matches if the given DMARC policy matches that of the incoming email.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var ruleDmarcExpressionProperty = new RuleDmarcExpressionProperty {
Operator = "operator",
Values = new [] { "values" }
};
Synopsis
Constructors
RuleDmarcExpressionProperty() | A DMARC policy expression. |
Properties
Operator | The operator to apply to the DMARC policy of the incoming email. |
Values | The values to use for the given DMARC policy operator. |
Constructors
RuleDmarcExpressionProperty()
A DMARC policy expression.
public RuleDmarcExpressionProperty()
Remarks
The condition matches if the given DMARC policy matches that of the incoming email.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var ruleDmarcExpressionProperty = new RuleDmarcExpressionProperty {
Operator = "operator",
Values = new [] { "values" }
};
Properties
Operator
The operator to apply to the DMARC policy of the incoming email.
public string Operator { get; set; }
Property Value
Remarks
Values
The values to use for the given DMARC policy operator.
public string[] Values { get; set; }
Property Value
string[]
Remarks
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.