Show / Hide Table of Contents

Class ReceiptRuleSetProps

Construction properties for a ReceiptRuleSet.

Inheritance
object
ReceiptRuleSetProps
Implements
IReceiptRuleSetProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReceiptRuleSetProps : IReceiptRuleSetProps
Syntax (vb)
Public Class ReceiptRuleSetProps Implements 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

Constructors

ReceiptRuleSetProps()

Construction properties for a ReceiptRuleSet.

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.

Constructors

ReceiptRuleSetProps()

Construction properties for a ReceiptRuleSet.

public ReceiptRuleSetProps()
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
            });

Properties

DropSpam

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

public bool? DropSpam { get; set; }
Property Value

bool?

Remarks

Default: false

ReceiptRuleSetName

The name for the receipt rule set.

public string? ReceiptRuleSetName { get; set; }
Property Value

string

Remarks

Default: - A CloudFormation generated name.

Rules

The list of rules to add to this rule set.

public IReceiptRuleOptions[]? Rules { get; set; }
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.

Implements

IReceiptRuleSetProps
Back to top Generated by DocFX