Class CfnMailManagerRuleSetPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.536Z")
@Stability(Stable)
public class CfnMailManagerRuleSetPropsMixin
extends Mixin
implements software.constructs.IMixin
Resource to create a rule set for a Mail Manager ingress endpoint which contains a list of rules that are evaluated sequentially for each email.
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.*;
import software.amazon.awscdk.*;
Object drop;
IMergeStrategy mergeStrategy;
CfnMailManagerRuleSetPropsMixin cfnMailManagerRuleSetPropsMixin = CfnMailManagerRuleSetPropsMixin.Builder.create(CfnMailManagerRuleSetMixinProps.builder()
.rules(List.of(RuleProperty.builder()
.actions(List.of(RuleActionProperty.builder()
.addHeader(AddHeaderActionProperty.builder()
.headerName("headerName")
.headerValue("headerValue")
.build())
.archive(ArchiveActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.targetArchive("targetArchive")
.build())
.deliverToMailbox(DeliverToMailboxActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.mailboxArn("mailboxArn")
.roleArn("roleArn")
.build())
.deliverToQBusiness(DeliverToQBusinessActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.applicationId("applicationId")
.indexId("indexId")
.roleArn("roleArn")
.build())
.drop(drop)
.publishToSns(SnsActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.encoding("encoding")
.payloadType("payloadType")
.roleArn("roleArn")
.topicArn("topicArn")
.build())
.relay(RelayActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.mailFrom("mailFrom")
.relay("relay")
.build())
.replaceRecipient(ReplaceRecipientActionProperty.builder()
.replaceWith(List.of("replaceWith"))
.build())
.send(SendActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.roleArn("roleArn")
.build())
.writeToS3(S3ActionProperty.builder()
.actionFailurePolicy("actionFailurePolicy")
.roleArn("roleArn")
.s3Bucket("s3Bucket")
.s3Prefix("s3Prefix")
.s3SseKmsKeyId("s3SseKmsKeyId")
.build())
.build()))
.conditions(List.of(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()))
.name("name")
.unless(List.of(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()))
.build()))
.ruleSetName("ruleSetName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe action to add a header to a message.static interfaceThe result of an analysis can be used in conditions to trigger actions.static interfaceThe action to archive the email by delivering the email to an Amazon SES archive.static final classA fluent builder forCfnMailManagerRuleSetPropsMixin.static interfaceThis action to delivers an email to a mailbox.static interfaceThe action to deliver incoming emails to an Amazon Q Business application for indexing.static interfaceThe action relays the email via SMTP to another specific SMTP server.static interfaceThis action replaces the email envelope recipients with the given list of recipients.static interfaceThe action for a rule to take.static interfaceA boolean expression to be used in a rule condition.static interfaceThe union type representing the allowed types of operands for a boolean condition.static interfaceThe conditional expression used to evaluate an email for determining if a rule action should be taken.static interfaceA DMARC policy expression.static interfaceAn IP address expression matching certain IP addresses within a given range of IP addresses.static interfaceThe IP address to evaluate for this condition.static interfaceThe structure type for a boolean condition that provides the address lists and address list attribute to evaluate.static interfaceA number expression to match numeric conditions with integers from the incoming email.static interfaceThe number to evaluate in a numeric condition expression.static interfaceA rule contains conditions, "unless conditions" and actions.static interfaceA string expression is evaluated against strings or substrings of the email.static interfaceThe string to evaluate in a string condition expression.static interfaceA verdict expression is evaluated against verdicts of the email.static interfaceThe verdict to evaluate in a verdict condition expression.static interfaceWrites the MIME content of the email to an S3 bucket.static interfaceSends the email to the internet using the ses:SendRawEmail API.static interfaceThe action to publish the email content to an Amazon SNS topic.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SES::MailManagerRuleSet.CfnMailManagerRuleSetPropsMixin(CfnMailManagerRuleSetMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SES::MailManagerRuleSet.protectedCfnMailManagerRuleSetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMailManagerRuleSetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnMailManagerRuleSetMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnMailManagerRuleSetPropsMixin
protected CfnMailManagerRuleSetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMailManagerRuleSetPropsMixin
protected CfnMailManagerRuleSetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMailManagerRuleSetPropsMixin
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin(@NotNull CfnMailManagerRuleSetMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SES::MailManagerRuleSet.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnMailManagerRuleSetPropsMixin
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin(@NotNull CfnMailManagerRuleSetMixinProps props) Create a mixin to apply properties toAWS::SES::MailManagerRuleSet.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-