Interface CfnMailManagerTrafficPolicy.PolicyConditionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMailManagerTrafficPolicy.PolicyConditionProperty.Jsii$Proxy
- Enclosing class:
CfnMailManagerTrafficPolicy
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.*;
PolicyConditionProperty policyConditionProperty = PolicyConditionProperty.builder()
.booleanExpression(IngressBooleanExpressionProperty.builder()
.evaluate(IngressBooleanToEvaluateProperty.builder()
.analysis(IngressAnalysisProperty.builder()
.analyzer("analyzer")
.resultField("resultField")
.build())
.isInAddressList(IngressIsInAddressListProperty.builder()
.addressLists(List.of("addressLists"))
.attribute("attribute")
.build())
.build())
.operator("operator")
.build())
.ipExpression(IngressIpv4ExpressionProperty.builder()
.evaluate(IngressIpToEvaluateProperty.builder()
.attribute("attribute")
.build())
.operator("operator")
.values(List.of("values"))
.build())
.ipv6Expression(IngressIpv6ExpressionProperty.builder()
.evaluate(IngressIpv6ToEvaluateProperty.builder()
.attribute("attribute")
.build())
.operator("operator")
.values(List.of("values"))
.build())
.stringExpression(IngressStringExpressionProperty.builder()
.evaluate(IngressStringToEvaluateProperty.builder()
.analysis(IngressAnalysisProperty.builder()
.analyzer("analyzer")
.resultField("resultField")
.build())
.attribute("attribute")
.build())
.operator("operator")
.values(List.of("values"))
.build())
.tlsExpression(IngressTlsProtocolExpressionProperty.builder()
.evaluate(IngressTlsProtocolToEvaluateProperty.builder()
.attribute("attribute")
.build())
.operator("operator")
.value("value")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMailManagerTrafficPolicy.PolicyConditionPropertystatic final classAn implementation forCfnMailManagerTrafficPolicy.PolicyConditionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThis represents a boolean type condition matching on the incoming mail.default ObjectThis represents an IP based condition matching on the incoming mail.default ObjectThis represents an IPv6 based condition matching on the incoming mail.default ObjectThis represents a string based condition matching on the incoming mail.default ObjectThis represents a TLS based condition matching on the incoming mail.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBooleanExpression
This represents a boolean type condition matching on the incoming mail.It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Returns union: either
IResolvableorCfnMailManagerTrafficPolicy.IngressBooleanExpressionProperty- See Also:
-
getIpExpression
This represents an IP based condition matching on the incoming mail.It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Returns union: either
IResolvableorCfnMailManagerTrafficPolicy.IngressIpv4ExpressionProperty- See Also:
-
getIpv6Expression
This represents an IPv6 based condition matching on the incoming mail.It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Returns union: either
IResolvableorCfnMailManagerTrafficPolicy.IngressIpv6ExpressionProperty- See Also:
-
getStringExpression
This represents a string based condition matching on the incoming mail.It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Returns union: either
IResolvableorCfnMailManagerTrafficPolicy.IngressStringExpressionProperty- See Also:
-
getTlsExpression
This represents a TLS based condition matching on the incoming mail.It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
Returns union: either
IResolvableorCfnMailManagerTrafficPolicy.IngressTlsProtocolExpressionProperty- See Also:
-
builder
-