Interface ReceiptRuleOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DropSpamReceiptRuleProps
,ReceiptRuleProps
- All Known Implementing Classes:
DropSpamReceiptRuleProps.Jsii$Proxy
,ReceiptRuleOptions.Jsii$Proxy
,ReceiptRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:42.782Z")
@Stability(Stable)
public interface ReceiptRuleOptions
extends software.amazon.jsii.JsiiSerializable
Options to add a receipt rule to a receipt rule set.
Example:
ReceiptRuleSet ruleSet = new ReceiptRuleSet(this, "RuleSet"); ReceiptRule awsRule = ruleSet.addRule("Aws", ReceiptRuleOptions.builder() .recipients(List.of("aws.com")) .build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forReceiptRuleOptions
static final class
An implementation forReceiptRuleOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReceiptRuleOptions.Builder
builder()
default List<IReceiptRuleAction>
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 IReceiptRule
getAfter()
An existing rule after which the new rule will be placed.default Boolean
Whether the rule is active.default String
The name for the rule.The recipient domains and email addresses that the receipt rule applies to.default Boolean
Whether to scan for spam and viruses.default TlsPolicy
Whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
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
Whether the rule is active.Default: true
-
getReceiptRuleName
The name for the rule.Default: - A CloudFormation generated name.
-
getRecipients
The recipient domains and email addresses that the receipt rule applies to.Default: - Match all recipients under all verified domains.
-
getScanEnabled
Whether to scan for spam and viruses.Default: false
-
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
- Returns:
- a
ReceiptRuleOptions.Builder
ofReceiptRuleOptions
-