Class DropSpamReceiptRule
A rule added at the top of the rule set to drop spam/virus.
Inheritance
System.Object
DropSpamReceiptRule
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DropSpamReceiptRule : Construct
Syntax (vb)
Public Class DropSpamReceiptRule
Inherits Construct
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
ReceiptRule receiptRule;
IReceiptRuleAction receiptRuleAction;
ReceiptRuleSet receiptRuleSet;
var dropSpamReceiptRule = new DropSpamReceiptRule(this, "MyDropSpamReceiptRule", new DropSpamReceiptRuleProps {
RuleSet = receiptRuleSet,
// the properties below are optional
Actions = new [] { receiptRuleAction },
After = receiptRule,
Enabled = false,
ReceiptRuleName = "receiptRuleName",
Recipients = new [] { "recipients" },
ScanEnabled = false,
TlsPolicy = TlsPolicy.OPTIONAL
});
Synopsis
Constructors
DropSpamReceiptRule(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
DropSpamReceiptRule(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
DropSpamReceiptRule(Construct, String, IDropSpamReceiptRuleProps) |
Properties
Rule |
Constructors
DropSpamReceiptRule(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DropSpamReceiptRule(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
DropSpamReceiptRule(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DropSpamReceiptRule(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
DropSpamReceiptRule(Construct, String, IDropSpamReceiptRuleProps)
public DropSpamReceiptRule(Construct scope, string id, IDropSpamReceiptRuleProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IDropSpamReceiptRuleProps