class ReceiptRuleSet (construct)
A new receipt rule set.
new ReceiptRuleSet(scope: Construct, id: string, props?: Receipt<wbr>Rule<wbr>Set<wbr>Props)
|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||Construct tree node which offers APIs for interacting with the construct tree.|
|receipt||The receipt rule set name.|
|stack||The stack in which this resource is defined.|
Construct tree node which offers APIs for interacting with the construct tree.
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?: Receipt<wbr>Rule<wbr>Options): Receipt<wbr>Rule
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): IReceipt<wbr>Rule<wbr>Set
Import an exported receipt rule set.