Interface ReceiptRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ReceiptRuleOptions
- All Known Subinterfaces:
DropSpamReceiptRuleProps
- All Known Implementing Classes:
DropSpamReceiptRuleProps.Jsii$Proxy,ReceiptRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:50.698Z")
@Stability(Stable)
public interface ReceiptRuleProps
extends software.amazon.jsii.JsiiSerializable, ReceiptRuleOptions
Construction properties for a ReceiptRule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
ReceiptRule receiptRule;
IReceiptRuleAction receiptRuleAction;
ReceiptRuleSet receiptRuleSet;
ReceiptRuleProps receiptRuleProps = ReceiptRuleProps.builder()
.ruleSet(receiptRuleSet)
// the properties below are optional
.actions(List.of(receiptRuleAction))
.after(receiptRule)
.enabled(false)
.receiptRuleName("receiptRuleName")
.recipients(List.of("recipients"))
.scanEnabled(false)
.tlsPolicy(TlsPolicy.OPTIONAL)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forReceiptRulePropsstatic final classAn implementation forReceiptRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ReceiptRuleProps.Builderbuilder()The name of the rule set that the receipt rule will be added to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ses.ReceiptRuleOptions
getActions, getAfter, getEnabled, getReceiptRuleName, getRecipients, getScanEnabled, getTlsPolicy
-
Method Details
-
getRuleSet
The name of the rule set that the receipt rule will be added to. -
builder
- Returns:
- a
ReceiptRuleProps.BuilderofReceiptRuleProps
-