Interface CfnMailManagerTrafficPolicy.PolicyStatementProperty

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

@Stability(Stable) public static interface CfnMailManagerTrafficPolicy.PolicyStatementProperty extends software.amazon.jsii.JsiiSerializable
The structure containing traffic policy conditions and actions.

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.*;
 PolicyStatementProperty policyStatementProperty = PolicyStatementProperty.builder()
         .action("action")
         .conditions(List.of(PolicyConditionProperty.builder()
                 .booleanExpression(IngressBooleanExpressionProperty.builder()
                         .evaluate(IngressBooleanToEvaluateProperty.builder()
                                 .analysis(IngressAnalysisProperty.builder()
                                         .analyzer("analyzer")
                                         .resultField("resultField")
                                         .build())
                                 .build())
                         .operator("operator")
                         .build())
                 .ipExpression(IngressIpv4ExpressionProperty.builder()
                         .evaluate(IngressIpToEvaluateProperty.builder()
                                 .attribute("attribute")
                                 .build())
                         .operator("operator")
                         .values(List.of("values"))
                         .build())
                 .stringExpression(IngressStringExpressionProperty.builder()
                         .evaluate(IngressStringToEvaluateProperty.builder()
                                 .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()))
         .build();
 

See Also: