Interface CfnMailManagerRuleSet.RuleConditionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMailManagerRuleSet.RuleConditionProperty.Jsii$Proxy
Enclosing class:
CfnMailManagerRuleSet

@Stability(Stable) public static interface CfnMailManagerRuleSet.RuleConditionProperty extends software.amazon.jsii.JsiiSerializable
The conditional expression used to evaluate an email for determining if a rule action should be taken.

This data type is a UNION, so only one of the following members can be specified when used or returned.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ses.*;
 RuleConditionProperty ruleConditionProperty = RuleConditionProperty.builder()
         .booleanExpression(RuleBooleanExpressionProperty.builder()
                 .evaluate(RuleBooleanToEvaluateProperty.builder()
                         .attribute("attribute")
                         .build())
                 .operator("operator")
                 .build())
         .dmarcExpression(RuleDmarcExpressionProperty.builder()
                 .operator("operator")
                 .values(List.of("values"))
                 .build())
         .ipExpression(RuleIpExpressionProperty.builder()
                 .evaluate(RuleIpToEvaluateProperty.builder()
                         .attribute("attribute")
                         .build())
                 .operator("operator")
                 .values(List.of("values"))
                 .build())
         .numberExpression(RuleNumberExpressionProperty.builder()
                 .evaluate(RuleNumberToEvaluateProperty.builder()
                         .attribute("attribute")
                         .build())
                 .operator("operator")
                 .value(123)
                 .build())
         .stringExpression(RuleStringExpressionProperty.builder()
                 .evaluate(RuleStringToEvaluateProperty.builder()
                         .attribute("attribute")
                         .build())
                 .operator("operator")
                 .values(List.of("values"))
                 .build())
         .verdictExpression(RuleVerdictExpressionProperty.builder()
                 .evaluate(RuleVerdictToEvaluateProperty.builder()
                         .analysis(AnalysisProperty.builder()
                                 .analyzer("analyzer")
                                 .resultField("resultField")
                                 .build())
                         .attribute("attribute")
                         .build())
                 .operator("operator")
                 .values(List.of("values"))
                 .build())
         .build();
 

See Also: