Interface ReceiptRuleSetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ReceiptRuleSetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:27.398Z") @Stability(Stable) public interface ReceiptRuleSetProps extends software.amazon.jsii.JsiiSerializable
Construction properties for a ReceiptRuleSet.

Example:

 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.ses.*;
 import software.amazon.awscdk.customresources.CustomResourceConfig;
 App app = new App();
 Stack stack = new Stack(app, "Stack");
 CustomResourceConfig.of(app).addLogRetentionLifetime(RetentionDays.TEN_YEARS);
 CustomResourceConfig.of(app).addRemovalPolicy(RemovalPolicy.DESTROY);
 ReceiptRuleSet.Builder.create(app, "RuleSet")
         .dropSpam(true)
         .build();
 
  • Method Details

    • getDropSpam

      @Stability(Stable) @Nullable default Boolean getDropSpam()
      Whether to add a first rule to stop processing messages that have at least one spam indicator.

      Default: false

    • getReceiptRuleSetName

      @Stability(Stable) @Nullable default String getReceiptRuleSetName()
      The name for the receipt rule set.

      Default: - A CloudFormation generated name.

    • getRules

      @Stability(Stable) @Nullable default List<ReceiptRuleOptions> getRules()
      The list of rules to add to this rule set.

      Rules are added in the same order as they appear in the list.

      Default: - No rules are added to the rule set.

    • builder

      @Stability(Stable) static ReceiptRuleSetProps.Builder builder()
      Returns:
      a ReceiptRuleSetProps.Builder of ReceiptRuleSetProps