Interface CfnMailManagerTrafficPolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMailManagerTrafficPolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.562Z")
@Stability(Stable)
public interface CfnMailManagerTrafficPolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnMailManagerTrafficPolicyPropsMixin.
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.*;
CfnMailManagerTrafficPolicyMixinProps cfnMailManagerTrafficPolicyMixinProps = CfnMailManagerTrafficPolicyMixinProps.builder()
.defaultAction("defaultAction")
.maxMessageSizeBytes(123)
.policyStatements(List.of(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()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trafficPolicyName("trafficPolicyName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMailManagerTrafficPolicyMixinPropsstatic final classAn implementation forCfnMailManagerTrafficPolicyMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringDefault action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements.default NumberThe maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.default ObjectConditional statements for filtering email traffic.getTags()The tags used to organize, track, or control access for the resource.default StringThe name of the policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefaultAction
Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements.- See Also:
-
getMaxMessageSizeBytes
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.- See Also:
-
getPolicyStatements
Conditional statements for filtering email traffic.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMailManagerTrafficPolicyPropsMixin.PolicyStatementProperty>- See Also:
-
getTags
The tags used to organize, track, or control access for the resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
getTrafficPolicyName
The name of the policy.The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
- See Also:
-
builder
-