Interface CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty.Jsii$Proxy
- Enclosing class:
CfnMailManagerTrafficPolicyPropsMixin
@Stability(Stable)
public static interface CfnMailManagerTrafficPolicyPropsMixin.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.cfnpropertymixins.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())
.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()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.- See Also:
-
getConditions
The list of conditions to apply to incoming messages for filtering email traffic.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMailManagerTrafficPolicyPropsMixin.PolicyConditionProperty>- See Also:
-
builder
@Stability(Stable) static CfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty.Builder builder()
-