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()
.analysis(AnalysisProperty.builder()
.analyzer("analyzer")
.resultField("resultField")
.build())
.attribute("attribute")
.isInAddressList(RuleIsInAddressListProperty.builder()
.addressLists(List.of("addressLists"))
.attribute("attribute")
.build())
.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()
.analysis(AnalysisProperty.builder()
.analyzer("analyzer")
.resultField("resultField")
.build())
.attribute("attribute")
.mimeHeaderAttribute("mimeHeaderAttribute")
.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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMailManagerRuleSet.RuleConditionPropertystatic final classAn implementation forCfnMailManagerRuleSet.RuleConditionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe condition applies to a boolean expression passed in this field.default ObjectThe condition applies to a DMARC policy expression passed in this field.default ObjectThe condition applies to an IP address expression passed in this field.default ObjectThe condition applies to a number expression passed in this field.default ObjectThe condition applies to a string expression passed in this field.default ObjectThe condition applies to a verdict expression passed in this field.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBooleanExpression
The condition applies to a boolean expression passed in this field.Returns union: either
IResolvableorCfnMailManagerRuleSet.RuleBooleanExpressionProperty- See Also:
-
getDmarcExpression
The condition applies to a DMARC policy expression passed in this field.Returns union: either
IResolvableorCfnMailManagerRuleSet.RuleDmarcExpressionProperty- See Also:
-
getIpExpression
The condition applies to an IP address expression passed in this field.Returns union: either
IResolvableorCfnMailManagerRuleSet.RuleIpExpressionProperty- See Also:
-
getNumberExpression
The condition applies to a number expression passed in this field.Returns union: either
IResolvableorCfnMailManagerRuleSet.RuleNumberExpressionProperty- See Also:
-
getStringExpression
The condition applies to a string expression passed in this field.Returns union: either
IResolvableorCfnMailManagerRuleSet.RuleStringExpressionProperty- See Also:
-
getVerdictExpression
The condition applies to a verdict expression passed in this field.Returns union: either
IResolvableorCfnMailManagerRuleSet.RuleVerdictExpressionProperty- See Also:
-
builder
-