Class CfnMailManagerRuleSet.RuleStringExpressionProperty
A string expression is evaluated against strings or substrings of the email.
Inherited Members
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMailManagerRuleSet.RuleStringExpressionProperty : CfnMailManagerRuleSet.IRuleStringExpressionProperty
Syntax (vb)
Public Class CfnMailManagerRuleSet.RuleStringExpressionProperty Implements CfnMailManagerRuleSet.IRuleStringExpressionProperty
Remarks
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 ruleStringExpressionProperty = new RuleStringExpressionProperty {
Evaluate = new RuleStringToEvaluateProperty {
Analysis = new AnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
Attribute = "attribute",
MimeHeaderAttribute = "mimeHeaderAttribute"
},
Operator = "operator",
Values = new [] { "values" }
};
Synopsis
Constructors
RuleStringExpressionProperty() | A string expression is evaluated against strings or substrings of the email. |
Properties
Evaluate | The string to evaluate in a string condition expression. |
Operator | The matching operator for a string condition expression. |
Values | The string(s) to be evaluated in a string condition expression. |
Constructors
RuleStringExpressionProperty()
A string expression is evaluated against strings or substrings of the email.
public RuleStringExpressionProperty()
Remarks
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 ruleStringExpressionProperty = new RuleStringExpressionProperty {
Evaluate = new RuleStringToEvaluateProperty {
Analysis = new AnalysisProperty {
Analyzer = "analyzer",
ResultField = "resultField"
},
Attribute = "attribute",
MimeHeaderAttribute = "mimeHeaderAttribute"
},
Operator = "operator",
Values = new [] { "values" }
};
Properties
Evaluate
The string to evaluate in a string condition expression.
public object Evaluate { get; set; }
Property Value
Remarks
Operator
The matching operator for a string condition expression.
public string Operator { get; set; }
Property Value
Remarks
Values
The string(s) to be evaluated in a string condition expression.
public string[] Values { get; set; }
Property Value
string[]
Remarks
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.