Skip to content
v2.278.0

SuppressionOptionsProperty Struct ​

An object that contains information about the suppression list preferences for your account.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const suppressionOptionsProperty: ses.CfnConfigurationSet.SuppressionOptionsProperty = {
  suppressedReasons: ['suppressedReasons'],
  validationOptions: {
    conditionThreshold: {
      conditionThresholdEnabled: 'conditionThresholdEnabled',

      // the properties below are optional
      overallConfidenceThreshold: {
        confidenceVerdictThreshold: 'confidenceVerdictThreshold',
      },
    },
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses

suppression_options_property = ses.CfnConfigurationSet.SuppressionOptionsProperty(
    suppressed_reasons=["suppressedReasons"],
    validation_options=ses.CfnConfigurationSet.ValidationOptionsProperty(
        condition_threshold=ses.CfnConfigurationSet.ConditionThresholdProperty(
            condition_threshold_enabled="conditionThresholdEnabled",

            # the properties below are optional
            overall_confidence_threshold=ses.CfnConfigurationSet.OverallConfidenceThresholdProperty(
                confidence_verdict_threshold="confidenceVerdictThreshold"
            )
        )
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;

SuppressionOptionsProperty suppressionOptionsProperty = SuppressionOptionsProperty.builder()
        .suppressedReasons(List.of("suppressedReasons"))
        .validationOptions(ValidationOptionsProperty.builder()
                .conditionThreshold(ConditionThresholdProperty.builder()
                        .conditionThresholdEnabled("conditionThresholdEnabled")

                        // the properties below are optional
                        .overallConfidenceThreshold(OverallConfidenceThresholdProperty.builder()
                                .confidenceVerdictThreshold("confidenceVerdictThreshold")
                                .build())
                        .build())
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;

var suppressionOptionsProperty = new SuppressionOptionsProperty {
    SuppressedReasons = new [] { "suppressedReasons" },
    ValidationOptions = new ValidationOptionsProperty {
        ConditionThreshold = new ConditionThresholdProperty {
            ConditionThresholdEnabled = "conditionThresholdEnabled",

            // the properties below are optional
            OverallConfidenceThreshold = new OverallConfidenceThresholdProperty {
                ConfidenceVerdictThreshold = "confidenceVerdictThreshold"
            }
        }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

suppressionOptionsProperty := &SuppressionOptionsProperty{
	SuppressedReasons: []*string{
		jsii.String("suppressedReasons"),
	},
	ValidationOptions: &ValidationOptionsProperty{
		ConditionThreshold: &ConditionThresholdProperty{
			ConditionThresholdEnabled: jsii.String("conditionThresholdEnabled"),

			// the properties below are optional
			OverallConfidenceThreshold: &OverallConfidenceThresholdProperty{
				ConfidenceVerdictThreshold: jsii.String("confidenceVerdictThreshold"),
			},
		},
	},
}

Properties ​

suppressedReasonsoptionalstring[]suppressed_reasonsoptionaltyping.List[str]suppressedReasonsoptionalList<String>SuppressedReasonsoptionalstring[]SuppressedReasonsoptional*[]*string #
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
notes

This list can contain any or all of the following:

  • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.
  • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
validationOptionsoptionalIResolvable | CfnConfigurationSet.ValidationOptionsPropertyvalidation_optionsoptionaltyping.Union[IResolvable, ValidationOptionsProperty]validationOptionsoptionalIResolvableValidationOptionsoptionalIResolvableValidationOptionsoptionalinterface{} #
An object that contains information about the validation options for your account.