@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:55.111Z") public class DropSpamReceiptRule extends Construct
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; DropSpamReceiptRule dropSpamReceiptRule = DropSpamReceiptRule.Builder.create(this, "MyDropSpamReceiptRule") .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();
Modifier and Type | Class and Description |
---|---|
static class |
DropSpamReceiptRule.Builder
A fluent builder for
DropSpamReceiptRule . |
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
DropSpamReceiptRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DropSpamReceiptRule(software.amazon.jsii.JsiiObjectRef objRef) |
|
DropSpamReceiptRule(software.constructs.Construct scope,
java.lang.String id,
DropSpamReceiptRuleProps props) |
Modifier and Type | Method and Description |
---|---|
ReceiptRule |
getRule() |
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
protected DropSpamReceiptRule(software.amazon.jsii.JsiiObjectRef objRef)
protected DropSpamReceiptRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public DropSpamReceiptRule(software.constructs.Construct scope, java.lang.String id, DropSpamReceiptRuleProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public ReceiptRule getRule()