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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::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 to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnMailManagerRuleSetMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()