Interface ReceiptRuleOptions

All Superinterfaces:
All Known Subinterfaces:
DropSpamReceiptRuleProps, ReceiptRuleProps
All Known Implementing Classes:
DropSpamReceiptRuleProps.Jsii$Proxy, ReceiptRuleOptions.Jsii$Proxy, ReceiptRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.435Z") @Stability(Stable) public interface ReceiptRuleOptions extends
Options to add a receipt rule to a receipt rule set.


 ReceiptRuleSet ruleSet = new ReceiptRuleSet(this, "RuleSet");
 ReceiptRule awsRule = ruleSet.addRule("Aws", ReceiptRuleOptions.builder()
  • Method Details

    • getActions

      @Stability(Stable) @Nullable default List<IReceiptRuleAction> getActions()
      An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.

      Default: - No actions.

    • getAfter

      @Stability(Stable) @Nullable default IReceiptRule getAfter()
      An existing rule after which the new rule will be placed.

      Default: - The new rule is inserted at the beginning of the rule list.

    • getEnabled

      @Stability(Stable) @Nullable default Boolean getEnabled()
      Whether the rule is active.

      Default: true

    • getReceiptRuleName

      @Stability(Stable) @Nullable default String getReceiptRuleName()
      The name for the rule.

      Default: - A CloudFormation generated name.

    • getRecipients

      @Stability(Stable) @Nullable default List<String> getRecipients()
      The recipient domains and email addresses that the receipt rule applies to.

      Default: - Match all recipients under all verified domains.

    • getScanEnabled

      @Stability(Stable) @Nullable default Boolean getScanEnabled()
      Whether to scan for spam and viruses.

      Default: false

    • getTlsPolicy

      @Stability(Stable) @Nullable default TlsPolicy getTlsPolicy()
      Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS).

      Default: - Optional which will not check for TLS.

    • builder

      @Stability(Stable) static ReceiptRuleOptions.Builder builder()
      a ReceiptRuleOptions.Builder of ReceiptRuleOptions