Class SuppressionReasons
Reasons for which recipient email addresses should be automatically added to your account's suppression list.
Inheritance
System.Object
SuppressionReasons
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
using Amazon.CDK;
IDedicatedIpPool myPool;
new ConfigurationSet(this, "ConfigurationSet", new ConfigurationSetProps {
CustomTrackingRedirectDomain = "track.cdk.dev",
SuppressionReasons = SuppressionReasons.COMPLAINTS_ONLY,
TlsPolicy = ConfigurationSetTlsPolicy.REQUIRE,
DedicatedIpPool = myPool,
// Specify maximum delivery time
// This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
// transactional emails, and email that you want to ensure isn't delivered during non-business hours.
MaxDeliveryDuration = Duration.Minutes(10)
});
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 |
---|---|
SuppressionReasons |
BOUNCES_ONLY
Bounces only.
public const SuppressionReasons BOUNCES_ONLY
Field Value
Type | Description |
---|---|
SuppressionReasons |
COMPLAINTS_ONLY
Complaints only.
public const SuppressionReasons COMPLAINTS_ONLY
Field Value
Type | Description |
---|---|
SuppressionReasons |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |