Interface ReceiptRuleSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ReceiptRuleSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:47.403Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forReceiptRuleSetPropsstatic final classAn implementation forReceiptRuleSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ReceiptRuleSetProps.Builderbuilder()default BooleanWhether to add a first rule to stop processing messages that have at least one spam indicator.default StringThe 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.BuilderofReceiptRuleSetProps
-