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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forReceiptRuleSetProps
static final class
An implementation forReceiptRuleSetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReceiptRuleSetProps.Builder
builder()
default Boolean
Whether to add a first rule to stop processing messages that have at least one spam indicator.default String
The name for the receipt rule set.default List<ReceiptRuleOptions>
getRules()
The list of rules to add to this rule set.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDropSpam
Whether to add a first rule to stop processing messages that have at least one spam indicator.Default: false
-
getReceiptRuleSetName
The name for the receipt rule set.Default: - A CloudFormation generated name.
-
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
- Returns:
- a
ReceiptRuleSetProps.Builder
ofReceiptRuleSetProps
-