@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.198Z") @Stability(value=Stable) public class DropSpamReceiptRule extends software.constructs.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. |
| Modifier | Constructor and Description |
|---|---|
|
DropSpamReceiptRule(software.constructs.Construct scope,
String id,
DropSpamReceiptRuleProps props) |
protected |
DropSpamReceiptRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DropSpamReceiptRule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ReceiptRule |
getRule() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected DropSpamReceiptRule(software.amazon.jsii.JsiiObjectRef objRef)
protected DropSpamReceiptRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public DropSpamReceiptRule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
DropSpamReceiptRuleProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public ReceiptRule getRule()
Copyright © 2022. All rights reserved.