class ReceiptRuleSet (construct)
A new receipt rule set.
new ReceiptRuleSet(scope: Construct, id: string, props?: ReceiptRuleSetProps)
|drop||Whether to add a first rule to stop processing messages that have at least one spam indicator.|
|receipt||The name for the receipt rule set.|
|rules?||The list of rules to add to this rule set.|
(optional, default: false)
Whether to add a first rule to stop processing messages that have at least one spam indicator.
(optional, default: A CloudFormation generated name.)
The name for the receipt rule set.
(optional, default: No rules are added to the rule set.)
The list of rules to add to this rule set.
Rules are added in the same order as they appear in the list.
|node||The construct tree node associated with this construct.|
|receipt||The receipt rule set name.|
|stack||The stack in which this resource is defined.|
The construct tree node associated with this construct.
The receipt rule set name.
The stack in which this resource is defined.
|add||Adds a new receipt rule in this rule set.|
|to||Returns a string representation of this construct.|
|protected add||Adds a drop spam rule.|
|static from||Import an exported receipt rule set.|
public addRule(id: string, options?: ReceiptRuleOptions): ReceiptRule
Adds a new receipt rule in this rule set.
The new rule is added after
the last added rule unless
after is specified.
public toString(): string
Returns a string representation of this construct.
Drop Spam Rule()
protected addDropSpamRule(): void
Adds a drop spam rule.
Receipt Rule Set Name(scope, id, receiptRuleSetName)
public static fromReceiptRuleSetName(scope: Construct, id: string, receiptRuleSetName: string): IReceiptRuleSet
Import an exported receipt rule set.