ReceiptRuleOptions Struct
Options to add a receipt rule to a receipt rule set.
Example
ts
const ruleSet = new ses.ReceiptRuleSet(this, 'RuleSet');
const awsRule = ruleSet.addRule('Aws', {
recipients: ['aws.com'],
});
Properties
actionsIReceiptRuleAction[]actionstyping.List[IReceiptRuleAction]actionsList<IReceiptRuleAction>ActionsIReceiptRuleAction[]Actions*[]IReceiptRuleAction#An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
Default: No actions.
afterIReceiptRuleRefafterIReceiptRuleRefafterIReceiptRuleRefAfterIReceiptRuleRefAfterIReceiptRuleRef#An existing rule after which the new rule will be placed.
Default: The new rule is inserted at the beginning of the rule list.
Whether the rule is active.
receiptRuleNamestringreceipt_rule_namestrreceiptRuleNameStringReceiptRuleNamestringReceiptRuleName*string#The name for the rule.
Default: A CloudFormation generated name.
recipientsstring[]recipientstyping.List[str]recipientsList<String>Recipientsstring[]Recipients*[]*string#The recipient domains and email addresses that the receipt rule applies to.
Default: Match all recipients under all verified domains.
Whether to scan for spam and viruses.