Show / Hide Table of Contents

Interface IReceiptRuleSetProps

Construction properties for a ReceiptRuleSet.

Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IReceiptRuleSetProps
Syntax (vb)
Public Interface IReceiptRuleSetProps
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK;
            using Amazon.CDK.AWS.SES;
            using Amazon.CDK.CustomResources;


            var app = new App();
            var stack = new Stack(app, "Stack");
            CustomResourceConfig.Of(app).AddLogRetentionLifetime(RetentionDays.TEN_YEARS);
            CustomResourceConfig.Of(app).AddRemovalPolicy(RemovalPolicy.DESTROY);

            new ReceiptRuleSet(app, "RuleSet", new ReceiptRuleSetProps {
                DropSpam = true
            });

Synopsis

Properties

DropSpam

Whether to add a first rule to stop processing messages that have at least one spam indicator.

ReceiptRuleSetName

The name for the receipt rule set.

Rules

The list of rules to add to this rule set.

Properties

DropSpam

Whether to add a first rule to stop processing messages that have at least one spam indicator.

bool? DropSpam { get; }
Property Value

bool?

Remarks

Default: false

ReceiptRuleSetName

The name for the receipt rule set.

string? ReceiptRuleSetName { get; }
Property Value

string

Remarks

Default: - A CloudFormation generated name.

Rules

The list of rules to add to this rule set.

IReceiptRuleOptions[]? Rules { get; }
Property Value

IReceiptRuleOptions[]

Remarks

Rules are added in the same order as they appear in the list.

Default: - No rules are added to the rule set.

Back to top Generated by DocFX