Show / Hide Table of Contents

Class DropSpamReceiptRule

A rule added at the top of the rule set to drop spam/virus.

Inheritance
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

See: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda-example-functions.html

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(Construct, string, IDropSpamReceiptRuleProps)

A rule added at the top of the rule set to drop spam/virus.

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Rule

A rule added at the top of the rule set to drop spam/virus.

Constructors

DropSpamReceiptRule(Construct, string, IDropSpamReceiptRuleProps)

A rule added at the top of the rule set to drop spam/virus.

public DropSpamReceiptRule(Construct scope, string id, IDropSpamReceiptRuleProps props)
Parameters
scope Construct
id string
props IDropSpamReceiptRuleProps
Remarks

See: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda-example-functions.html

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
             });

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

See: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda-example-functions.html

ExampleMetadata: fixture=_generated

Rule

A rule added at the top of the rule set to drop spam/virus.

public virtual ReceiptRule Rule { get; }
Property Value

ReceiptRule

Remarks

See: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda-example-functions.html

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
             });
Back to top Generated by DocFX