Class SuppressionReasons
Reasons for which recipient email addresses should be automatically added to your account's suppression list.
Inheritance
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class SuppressionReasons : Enum
Syntax (vb)
Public NotInheritable Class SuppressionReasons
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
// Only bounces will be suppressed.
// Only bounces will be suppressed.
new ConfigurationSet(this, "ConfigurationSet", new ConfigurationSetProps {
SuppressionReasons = SuppressionReasons.BOUNCES_ONLY
});
// Only complaints will be suppressed.
// Only complaints will be suppressed.
new ConfigurationSet(this, "ConfigurationSet", new ConfigurationSetProps {
SuppressionReasons = SuppressionReasons.COMPLAINTS_ONLY
});
// Both bounces and complaints will be suppressed.
// Both bounces and complaints will be suppressed.
new ConfigurationSet(this, "ConfigurationSet", new ConfigurationSetProps {
SuppressionReasons = SuppressionReasons.BOUNCES_AND_COMPLAINTS
});
Synopsis
Fields
BOUNCES_AND_COMPLAINTS | Bounces and complaints. |
BOUNCES_ONLY | Bounces only. |
COMPLAINTS_ONLY | Complaints only. |
value__ |
Fields
BOUNCES_AND_COMPLAINTS
Bounces and complaints.
public const SuppressionReasons BOUNCES_AND_COMPLAINTS
Field Value
Type | Description |
---|---|
Suppression |
BOUNCES_ONLY
Bounces only.
public const SuppressionReasons BOUNCES_ONLY
Field Value
Type | Description |
---|---|
Suppression |
COMPLAINTS_ONLY
Complaints only.
public const SuppressionReasons COMPLAINTS_ONLY
Field Value
Type | Description |
---|---|
Suppression |
value__
public int value__
Field Value
Type | Description |
---|---|
System. |