Package software.amazon.awscdk.services.ses
Amazon Simple Email Service Construct Library
This module is part of the AWS Cloud Development Kit project.
Email receiving
 Create a receipt rule set with rules and actions (actions can be found in the
 aws-cdk-lib/aws-ses-actions package):
 
 import software.amazon.awscdk.services.s3.*;
 import software.amazon.awscdk.services.ses.actions.*;
 
 
 Bucket bucket = new Bucket(this, "Bucket");
 Topic topic = new Topic(this, "Topic");
 
 ReceiptRuleSet.Builder.create(this, "RuleSet")
         .rules(List.of(ReceiptRuleOptions.builder()
                 .recipients(List.of("hello@aws.com"))
                 .actions(List.of(
                     AddHeader.Builder.create()
                             .name("X-Special-Header")
                             .value("aws")
                             .build(),
                     S3.Builder.create()
                             .bucket(bucket)
                             .objectKeyPrefix("emails/")
                             .topic(topic)
                             .build()))
                 .build(), ReceiptRuleOptions.builder()
                 .recipients(List.of("aws.com"))
                 .actions(List.of(
                     Sns.Builder.create()
                             .topic(topic)
                             .build()))
                 .build()))
         .build();
 
 Alternatively, rules can be added to a rule set:
 ReceiptRuleSet ruleSet = new ReceiptRuleSet(this, "RuleSet");
 
 ReceiptRule awsRule = ruleSet.addRule("Aws", ReceiptRuleOptions.builder()
         .recipients(List.of("aws.com"))
         .build());
 
 And actions to rules:
 import software.amazon.awscdk.services.ses.actions.*;
 
 ReceiptRule awsRule;
 Topic topic;
 
 awsRule.addAction(Sns.Builder.create()
         .topic(topic)
         .build());
 
 
 When using addRule, the new rule is added after the last added rule unless after is specified.
 
Drop spams
 A rule to drop spam can be added by setting dropSpam to true:
 
 ReceiptRuleSet.Builder.create(this, "RuleSet")
         .dropSpam(true)
         .build();
 
 This will add a rule at the top of the rule set with a Lambda action that stops processing messages that have at least one spam indicator. See Lambda Function Examples.
Receipt filter
Create a receipt filter:
 ReceiptFilter.Builder.create(this, "Filter")
         .ip("1.2.3.4/16")
         .build();
 
 An allow list filter is also available:
 AllowListReceiptFilter.Builder.create(this, "AllowList")
         .ips(List.of("10.0.0.0/16", "1.2.3.4/16"))
         .build();
 
 This will first create a block all filter and then create allow filters for the listed ip addresses.
AWS Service Principal permissions
 When adding an s3 action to a receipt rule, the CDK will automatically create a policy statement that allows the ses service principal to get write access to the bucket. This is done with the SourceAccount condition key, which is automatically added to the policy statement.
 Previously, the policy used the Referer condition key, which caused confused deputy problems when the bucket policy allowed access to the bucket for all principals.
 See more information in this github issue
 
Email sending
Dedicated IP pools
When you create a new Amazon SES account, your emails are sent from IP addresses that are shared with other Amazon SES users. For an additional monthly charge, you can lease dedicated IP addresses that are reserved for your exclusive use.
Use the DedicatedIpPool construct to create a pool of dedicated IP addresses. When specifying a name for your dedicated IP pool, ensure that it adheres to the following naming convention:
- The name must include only lowercase letters (a-z), numbers (0-9), underscores (_), and hyphens (-).
 - The name must not exceed 64 characters in length.
 
 DedicatedIpPool.Builder.create(this, "Pool")
         .dedicatedIpPoolName("mypool")
         .scalingMode(ScalingMode.STANDARD)
         .build();
 
 The pool can then be used in a configuration set. If the provided dedicatedIpPoolName does not follow the specified naming convention, an error will be thrown.
Configuration sets
Configuration sets are groups of rules that you can apply to your verified identities. A verified identity is a domain, subdomain, or email address you use to send email through Amazon SES. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
 Use the ConfigurationSet construct to create a configuration set:
 
 import software.amazon.awscdk.Duration;
 
 IDedicatedIpPool myPool;
 
 
 ConfigurationSet.Builder.create(this, "ConfigurationSet")
         .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))
         .build();
 
 
 Use addEventDestination() to publish email sending events to Amazon SNS, Amazon CloudWatch, Amazon Data Firehose or Amazon EventBridge:
 
 ConfigurationSet myConfigurationSet;
 Topic myTopic;
 
 
 myConfigurationSet.addEventDestination("ToSns", ConfigurationSetEventDestinationOptions.builder()
         .destination(EventDestination.snsTopic(myTopic))
         .build());
 
 Note: For EventBridge, you must specify the default EventBus:
 import software.amazon.awscdk.services.events.*;
 
 ConfigurationSet myConfigurationSet;
 
 
 IEventBus bus = EventBus.fromEventBusName(this, "EventBus", "default");
 
 myConfigurationSet.addEventDestination("ToEventBus", ConfigurationSetEventDestinationOptions.builder()
         .destination(EventDestination.eventBus(bus))
         .build());
 
 For Firehose, if you don't specify IAM Role ARN for Amazon SES to send events. An IAM Role will be created automatically following https://docs.aws.amazon.com/ses/latest/dg/event-publishing-add-event-destination-firehose.html.
 import software.amazon.awscdk.services.iam.*;
 import software.amazon.awscdk.services.kinesisfirehose.*;
 
 ConfigurationSet myConfigurationSet;
 IDeliveryStream firehoseDeliveryStream;
 IRole iamRole;
 
 
 // Create IAM Role automatically
 myConfigurationSet.addEventDestination("ToFirehose", ConfigurationSetEventDestinationOptions.builder()
         .destination(EventDestination.firehoseDeliveryStream(FirehoseDeliveryStreamDestination.builder()
                 .deliveryStream(firehoseDeliveryStream)
                 .build()))
         .build());
 
 // Specify your IAM Role
 myConfigurationSet.addEventDestination("ToFirehose", ConfigurationSetEventDestinationOptions.builder()
         .destination(EventDestination.firehoseDeliveryStream(FirehoseDeliveryStreamDestination.builder()
                 .deliveryStream(firehoseDeliveryStream)
                 .role(iamRole)
                 .build()))
         .build());
 
 
Tracking options
 You can specify to use a custom redirect domain to handle open and click tracking for email sent with this configuration set by using customTrackingRedirectDomain and customTrackingHttpsPolicy.
 Detail can be found in Custom tracking domain.
 
 ConfigurationSet.Builder.create(this, "ConfigurationSet")
         .customTrackingRedirectDomain("track.cdk.dev")
         .customTrackingHttpsPolicy(HttpsPolicy.REQUIRE)
         .build();
 
 
 Note: The custom tracking redirect domain must be verified in Amazon SES. To create verified identities, you can use the EmailIdentity construct.
 
Override account-level suppression list settings
You can customize account-level suppression list separately for different configuration sets by overriding it with configuration set-level suppression.
For details, see Using configuration set-level suppression to override your account-level suppression list.
By default, the configuration set uses your account-level suppression list settings.
 You can disable account-level suppression list by specifying disableSuppressionList to true. Email sent with this configuration set will not use any suppression settings at all.
 
 ConfigurationSet.Builder.create(this, "ConfigurationSet")
         .disableSuppressionList(true)
         .build();
 
 You can also override account level settings with configuration set-level suppression enabled. Email sent with this configuration set will only use the suppression conditions you enabled for it (bounces, complaints, or bounces and complaints) - regardless of what your account-level suppression list settings are, it will override them.
 // Only bounces will be suppressed.
 // Only bounces will be suppressed.
 ConfigurationSet.Builder.create(this, "ConfigurationSet")
         .suppressionReasons(SuppressionReasons.BOUNCES_ONLY)
         .build();
 
 // Only complaints will be suppressed.
 // Only complaints will be suppressed.
 ConfigurationSet.Builder.create(this, "ConfigurationSet")
         .suppressionReasons(SuppressionReasons.COMPLAINTS_ONLY)
         .build();
 
 // Both bounces and complaints will be suppressed.
 // Both bounces and complaints will be suppressed.
 ConfigurationSet.Builder.create(this, "ConfigurationSet")
         .suppressionReasons(SuppressionReasons.BOUNCES_AND_COMPLAINTS)
         .build();
 
 
Email identity
 In Amazon SES, a verified identity is a domain or email address that you use to send or receive email. Before you
 can send an email using Amazon SES, you must create and verify each identity that you're going to use as a From,
 Source, Sender, or Return-Path address. Verifying an identity with Amazon SES confirms that you own it and
 helps prevent unauthorized use.
 
 To verify an identity for a hosted zone, you create an EmailIdentity:
 
 IPublicHostedZone myHostedZone;
 
 
 EmailIdentity identity = EmailIdentity.Builder.create(this, "Identity")
         .identity(Identity.publicHostedZone(myHostedZone))
         .mailFromDomain("mail.cdk.dev")
         .build();
 
 By default, Easy DKIM with a 2048-bit DKIM key is used.
You can instead configure DKIM authentication by using your own public-private key pair. This process is known as Bring Your Own DKIM (BYODKIM):
 IPublicHostedZone myHostedZone;
 
 
 EmailIdentity.Builder.create(this, "Identity")
         .identity(Identity.publicHostedZone(myHostedZone))
         .dkimIdentity(DkimIdentity.byoDkim(ByoDkimOptions.builder()
                 .privateKey(SecretValue.secretsManager("dkim-private-key"))
                 .publicKey("...base64-encoded-public-key...")
                 .selector("selector")
                 .build()))
         .build();
 
 
 When using publicHostedZone() for the identity, all necessary Amazon Route 53 records are created automatically:
 
- CNAME records for Easy DKIM
 - TXT record for BYOD DKIM
 - MX and TXT records for the custom MAIL FROM
 
 When working with domain(), records must be created manually:
 
 EmailIdentity identity = EmailIdentity.Builder.create(this, "Identity")
         .identity(Identity.domain("cdk.dev"))
         .build();
 
 for (Object record : identity.getDkimRecords()) {
 }
 
 
Grants
 To grant a specific action to a principal use the grant method.
 For sending emails, grantSendEmail can be used instead:
 
 import software.amazon.awscdk.services.iam.*;
 User user;
 
 
 EmailIdentity identity = EmailIdentity.Builder.create(this, "Identity")
         .identity(Identity.domain("cdk.dev"))
         .build();
 
 identity.grantSendEmail(user);
 
 You can also reference an existing email identity using its ARN and grant permissions to it:
import software.amazon.awscdk.services.iam.*; User user; // Imports an existing email identity using its ARN. // This is one way to reference an existing identity; another option is using its name via fromEmailIdentityName. IEmailIdentity importedIdentity = EmailIdentity.fromEmailIdentityArn(this, "ImportedIdentity", "arn:aws:ses:us-east-1:123456789012:identity/example.com"); // Grant send email permission to the imported identity importedIdentity.grantSendEmail(user);
Virtual Deliverability Manager (VDM)
Virtual Deliverability Manager is an Amazon SES feature that helps you enhance email deliverability, like increasing inbox deliverability and email conversions, by providing insights into your sending and delivery data, and giving advice on how to fix the issues that are negatively affecting your delivery success rate and reputation.
 Use the VdmAttributes construct to configure the Virtual Deliverability Manager for your account:
 
// Enables engagement tracking and optimized shared delivery by default // Enables engagement tracking and optimized shared delivery by default new VdmAttributes(this, "Vdm");
 If you want to override the VDM settings in the specified configuration set, use vdmOptions in the ConfigurationSet construct.
 
Note: The configuration set level settings need to be used together with the account level settings. (To set the account level settings using CDK, use the
VdmAttributesConstruct.) If you enable only the configuration set level settings, VDM will not be enabled until the account level settings are configured. For more information, see Virtual Deliverability Manager settings.
 ConfigurationSet.Builder.create(this, "ConfigurationSetWithVdmOptions")
         .vdmOptions(VdmOptions.builder()
                 .engagementMetrics(true)
                 .optimizedSharedDelivery(true)
                 .build())
         .build();
 - 
ClassDescriptionAddHeaderAction configuration.A builder for
AddHeaderActionConfigAn implementation forAddHeaderActionConfigAn allow list receipt filter.A fluent builder forAllowListReceiptFilter.Construction properties for am AllowListReceiptFilter.A builder forAllowListReceiptFilterPropsAn implementation forAllowListReceiptFilterPropsBoundAction configuration.A builder forBounceActionConfigAn implementation forBounceActionConfigOptions for BYO DKIM.A builder forByoDkimOptionsAn implementation forByoDkimOptionsConfiguration sets let you create groups of rules that you can apply to the emails you send using Amazon SES.A fluent builder forCfnConfigurationSet.An object containing additional settings for your VDM configuration as applicable to the Dashboard.A builder forCfnConfigurationSet.DashboardOptionsPropertyAn implementation forCfnConfigurationSet.DashboardOptionsPropertySpecifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).A builder forCfnConfigurationSet.DeliveryOptionsPropertyAn implementation forCfnConfigurationSet.DeliveryOptionsPropertyAn object containing additional settings for your VDM configuration as applicable to the Guardian.A builder forCfnConfigurationSet.GuardianOptionsPropertyAn implementation forCfnConfigurationSet.GuardianOptionsPropertyEnable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.A builder forCfnConfigurationSet.ReputationOptionsPropertyAn implementation forCfnConfigurationSet.ReputationOptionsPropertyUsed to enable or disable email sending for messages that use this configuration set in the current AWS Region.A builder forCfnConfigurationSet.SendingOptionsPropertyAn implementation forCfnConfigurationSet.SendingOptionsPropertyAn object that contains information about the suppression list preferences for your account.A builder forCfnConfigurationSet.SuppressionOptionsPropertyAn implementation forCfnConfigurationSet.SuppressionOptionsPropertyAn object that defines the tracking options for a configuration set.A builder forCfnConfigurationSet.TrackingOptionsPropertyAn implementation forCfnConfigurationSet.TrackingOptionsPropertyThe Virtual Deliverability Manager (VDM) options that apply to a configuration set.A builder forCfnConfigurationSet.VdmOptionsPropertyAn implementation forCfnConfigurationSet.VdmOptionsPropertySpecifies a configuration set event destination.A fluent builder forCfnConfigurationSetEventDestination.An object that defines an Amazon CloudWatch destination for email events.An implementation forCfnConfigurationSetEventDestination.CloudWatchDestinationPropertyAn object that defines the dimension configuration to use when you send email events to Amazon CloudWatch.An implementation forCfnConfigurationSetEventDestination.DimensionConfigurationPropertyAn object that defines an Amazon EventBridge destination for email events.An implementation forCfnConfigurationSetEventDestination.EventBridgeDestinationPropertyIn the Amazon SES API v2, events include message sends, deliveries, opens, clicks, bounces, complaints and delivery delays.An implementation forCfnConfigurationSetEventDestination.EventDestinationPropertyAn object that defines an Amazon Kinesis Data Firehose destination for email events.An implementation forCfnConfigurationSetEventDestination.KinesisFirehoseDestinationPropertyContains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.An implementation forCfnConfigurationSetEventDestination.SnsDestinationPropertyProperties for defining aCfnConfigurationSetEventDestination.A builder forCfnConfigurationSetEventDestinationPropsAn implementation forCfnConfigurationSetEventDestinationPropsProperties for defining aCfnConfigurationSet.A builder forCfnConfigurationSetPropsAn implementation forCfnConfigurationSetPropsA list that contains contacts that have subscribed to a particular topic or topics.A fluent builder forCfnContactList.An interest group, theme, or label within a list.A builder forCfnContactList.TopicPropertyAn implementation forCfnContactList.TopicPropertyProperties for defining aCfnContactList.A builder forCfnContactListPropsAn implementation forCfnContactListPropsCreate a new pool of dedicated IP addresses.A fluent builder forCfnDedicatedIpPool.Properties for defining aCfnDedicatedIpPool.A builder forCfnDedicatedIpPoolPropsAn implementation forCfnDedicatedIpPoolPropsSpecifies an identity for using within SES.A fluent builder forCfnEmailIdentity.Used to associate a configuration set with an email identity.A builder forCfnEmailIdentity.ConfigurationSetAttributesPropertyAn implementation forCfnEmailIdentity.ConfigurationSetAttributesPropertyUsed to enable or disable DKIM authentication for an email identity.A builder forCfnEmailIdentity.DkimAttributesPropertyAn implementation forCfnEmailIdentity.DkimAttributesPropertyUsed to configure or change the DKIM authentication settings for an email domain identity.A builder forCfnEmailIdentity.DkimSigningAttributesPropertyAn implementation forCfnEmailIdentity.DkimSigningAttributesPropertyUsed to enable or disable feedback forwarding for an identity.A builder forCfnEmailIdentity.FeedbackAttributesPropertyAn implementation forCfnEmailIdentity.FeedbackAttributesPropertyUsed to enable or disable the custom Mail-From domain configuration for an email identity.A builder forCfnEmailIdentity.MailFromAttributesPropertyAn implementation forCfnEmailIdentity.MailFromAttributesPropertyProperties for defining aCfnEmailIdentity.A builder forCfnEmailIdentityPropsAn implementation forCfnEmailIdentityPropsCreates an Add On instance for the subscription indicated in the request.A fluent builder forCfnMailManagerAddonInstance.Properties for defining aCfnMailManagerAddonInstance.A builder forCfnMailManagerAddonInstancePropsAn implementation forCfnMailManagerAddonInstancePropsCreates a subscription for an Add On representing the acceptance of its terms of use and additional pricing.A fluent builder forCfnMailManagerAddonSubscription.Properties for defining aCfnMailManagerAddonSubscription.A builder forCfnMailManagerAddonSubscriptionPropsAn implementation forCfnMailManagerAddonSubscriptionPropsThe structure representing the address lists and address list attribute that will be used in evaluation of boolean expression.A fluent builder forCfnMailManagerAddressList.Properties for defining aCfnMailManagerAddressList.A builder forCfnMailManagerAddressListPropsAn implementation forCfnMailManagerAddressListPropsCreates a new email archive resource for storing and retaining emails.The retention policy for an email archive that specifies how long emails are kept before being automatically deleted.A builder forCfnMailManagerArchive.ArchiveRetentionPropertyAn implementation forCfnMailManagerArchive.ArchiveRetentionPropertyA fluent builder forCfnMailManagerArchive.Properties for defining aCfnMailManagerArchive.A builder forCfnMailManagerArchivePropsAn implementation forCfnMailManagerArchivePropsResource to provision an ingress endpoint for receiving email.A fluent builder forCfnMailManagerIngressPoint.The configuration of the ingress endpoint resource.An implementation forCfnMailManagerIngressPoint.IngressPointConfigurationPropertyThe network type (IPv4-only, Dual-Stack, PrivateLink) of the ingress endpoint resource.A builder forCfnMailManagerIngressPoint.NetworkConfigurationPropertyAn implementation forCfnMailManagerIngressPoint.NetworkConfigurationPropertySpecifies the network configuration for the private ingress point.An implementation forCfnMailManagerIngressPoint.PrivateNetworkConfigurationPropertySpecifies the network configuration for the public ingress point.An implementation forCfnMailManagerIngressPoint.PublicNetworkConfigurationPropertyProperties for defining aCfnMailManagerIngressPoint.A builder forCfnMailManagerIngressPointPropsAn implementation forCfnMailManagerIngressPointPropsResource to create an SMTP relay, which can be used within a Mail Manager rule set to forward incoming emails to defined relay destinations.A fluent builder forCfnMailManagerRelay.Authentication for the relay destination server—specify the secretARN where the SMTP credentials are stored, or specify an empty NoAuthentication structure if the relay destination server does not require SMTP credential authentication.A builder forCfnMailManagerRelay.RelayAuthenticationPropertyAn implementation forCfnMailManagerRelay.RelayAuthenticationPropertyProperties for defining aCfnMailManagerRelay.A builder forCfnMailManagerRelayPropsAn implementation forCfnMailManagerRelayPropsResource to create a rule set for a Mail Manager ingress endpoint which contains a list of rules that are evaluated sequentially for each email.The action to add a header to a message.A builder forCfnMailManagerRuleSet.AddHeaderActionPropertyAn implementation forCfnMailManagerRuleSet.AddHeaderActionPropertyThe result of an analysis can be used in conditions to trigger actions.A builder forCfnMailManagerRuleSet.AnalysisPropertyAn implementation forCfnMailManagerRuleSet.AnalysisPropertyThe action to archive the email by delivering the email to an Amazon SES archive.A builder forCfnMailManagerRuleSet.ArchiveActionPropertyAn implementation forCfnMailManagerRuleSet.ArchiveActionPropertyA fluent builder forCfnMailManagerRuleSet.This action to delivers an email to a mailbox.A builder forCfnMailManagerRuleSet.DeliverToMailboxActionPropertyAn implementation forCfnMailManagerRuleSet.DeliverToMailboxActionPropertyThe action to deliver incoming emails to an Amazon Q Business application for indexing.A builder forCfnMailManagerRuleSet.DeliverToQBusinessActionPropertyAn implementation forCfnMailManagerRuleSet.DeliverToQBusinessActionPropertyThe action relays the email via SMTP to another specific SMTP server.A builder forCfnMailManagerRuleSet.RelayActionPropertyAn implementation forCfnMailManagerRuleSet.RelayActionPropertyThis action replaces the email envelope recipients with the given list of recipients.A builder forCfnMailManagerRuleSet.ReplaceRecipientActionPropertyAn implementation forCfnMailManagerRuleSet.ReplaceRecipientActionPropertyThe action for a rule to take.A builder forCfnMailManagerRuleSet.RuleActionPropertyAn implementation forCfnMailManagerRuleSet.RuleActionPropertyA boolean expression to be used in a rule condition.A builder forCfnMailManagerRuleSet.RuleBooleanExpressionPropertyAn implementation forCfnMailManagerRuleSet.RuleBooleanExpressionPropertyThe union type representing the allowed types of operands for a boolean condition.A builder forCfnMailManagerRuleSet.RuleBooleanToEvaluatePropertyAn implementation forCfnMailManagerRuleSet.RuleBooleanToEvaluatePropertyThe conditional expression used to evaluate an email for determining if a rule action should be taken.A builder forCfnMailManagerRuleSet.RuleConditionPropertyAn implementation forCfnMailManagerRuleSet.RuleConditionPropertyA DMARC policy expression.A builder forCfnMailManagerRuleSet.RuleDmarcExpressionPropertyAn implementation forCfnMailManagerRuleSet.RuleDmarcExpressionPropertyAn IP address expression matching certain IP addresses within a given range of IP addresses.A builder forCfnMailManagerRuleSet.RuleIpExpressionPropertyAn implementation forCfnMailManagerRuleSet.RuleIpExpressionPropertyThe IP address to evaluate for this condition.A builder forCfnMailManagerRuleSet.RuleIpToEvaluatePropertyAn implementation forCfnMailManagerRuleSet.RuleIpToEvaluatePropertyThe structure type for a boolean condition that provides the address lists and address list attribute to evaluate.A builder forCfnMailManagerRuleSet.RuleIsInAddressListPropertyAn implementation forCfnMailManagerRuleSet.RuleIsInAddressListPropertyA number expression to match numeric conditions with integers from the incoming email.A builder forCfnMailManagerRuleSet.RuleNumberExpressionPropertyAn implementation forCfnMailManagerRuleSet.RuleNumberExpressionPropertyThe number to evaluate in a numeric condition expression.A builder forCfnMailManagerRuleSet.RuleNumberToEvaluatePropertyAn implementation forCfnMailManagerRuleSet.RuleNumberToEvaluatePropertyA rule contains conditions, "unless conditions" and actions.A builder forCfnMailManagerRuleSet.RulePropertyAn implementation forCfnMailManagerRuleSet.RulePropertyA string expression is evaluated against strings or substrings of the email.A builder forCfnMailManagerRuleSet.RuleStringExpressionPropertyAn implementation forCfnMailManagerRuleSet.RuleStringExpressionPropertyThe string to evaluate in a string condition expression.A builder forCfnMailManagerRuleSet.RuleStringToEvaluatePropertyAn implementation forCfnMailManagerRuleSet.RuleStringToEvaluatePropertyA verdict expression is evaluated against verdicts of the email.A builder forCfnMailManagerRuleSet.RuleVerdictExpressionPropertyAn implementation forCfnMailManagerRuleSet.RuleVerdictExpressionPropertyThe verdict to evaluate in a verdict condition expression.A builder forCfnMailManagerRuleSet.RuleVerdictToEvaluatePropertyAn implementation forCfnMailManagerRuleSet.RuleVerdictToEvaluatePropertyWrites the MIME content of the email to an S3 bucket.A builder forCfnMailManagerRuleSet.S3ActionPropertyAn implementation forCfnMailManagerRuleSet.S3ActionPropertySends the email to the internet using the ses:SendRawEmail API.A builder forCfnMailManagerRuleSet.SendActionPropertyAn implementation forCfnMailManagerRuleSet.SendActionPropertyThe action to publish the email content to an Amazon SNS topic.A builder forCfnMailManagerRuleSet.SnsActionPropertyAn implementation forCfnMailManagerRuleSet.SnsActionPropertyProperties for defining aCfnMailManagerRuleSet.A builder forCfnMailManagerRuleSetPropsAn implementation forCfnMailManagerRuleSetPropsResource to create a traffic policy for a Mail Manager ingress endpoint which contains policy statements used to evaluate whether incoming emails should be allowed or denied.A fluent builder forCfnMailManagerTrafficPolicy.The Add On ARN and its returned value that is evaluated in a policy statement's conditional expression to either deny or block the incoming email.A builder forCfnMailManagerTrafficPolicy.IngressAnalysisPropertyAn implementation forCfnMailManagerTrafficPolicy.IngressAnalysisPropertyThe structure for a boolean condition matching on the incoming mail.An implementation forCfnMailManagerTrafficPolicy.IngressBooleanExpressionPropertyThe union type representing the allowed types of operands for a boolean condition.An implementation forCfnMailManagerTrafficPolicy.IngressBooleanToEvaluatePropertyThe structure for an IP based condition matching on the incoming mail.A builder forCfnMailManagerTrafficPolicy.IngressIpToEvaluatePropertyAn implementation forCfnMailManagerTrafficPolicy.IngressIpToEvaluatePropertyThe union type representing the allowed types for the left hand side of an IP condition.An implementation forCfnMailManagerTrafficPolicy.IngressIpv4ExpressionPropertyThe union type representing the allowed types for the left hand side of an IPv6 condition.An implementation forCfnMailManagerTrafficPolicy.IngressIpv6ExpressionPropertyThe structure for an IPv6 based condition matching on the incoming mail.An implementation forCfnMailManagerTrafficPolicy.IngressIpv6ToEvaluatePropertyThe address lists and the address list attribute value that is evaluated in a policy statement's conditional expression to either deny or block the incoming email.An implementation forCfnMailManagerTrafficPolicy.IngressIsInAddressListPropertyThe structure for a string based condition matching on the incoming mail.An implementation forCfnMailManagerTrafficPolicy.IngressStringExpressionPropertyThe union type representing the allowed types for the left hand side of a string condition.An implementation forCfnMailManagerTrafficPolicy.IngressStringToEvaluatePropertyThe structure for a TLS related condition matching on the incoming mail.An implementation forCfnMailManagerTrafficPolicy.IngressTlsProtocolExpressionPropertyThe union type representing the allowed types for the left hand side of a TLS condition.An implementation forCfnMailManagerTrafficPolicy.IngressTlsProtocolToEvaluatePropertyThe email traffic filtering conditions which are contained in a traffic policy resource.A builder forCfnMailManagerTrafficPolicy.PolicyConditionPropertyAn implementation forCfnMailManagerTrafficPolicy.PolicyConditionPropertyThe structure containing traffic policy conditions and actions.A builder forCfnMailManagerTrafficPolicy.PolicyStatementPropertyAn implementation forCfnMailManagerTrafficPolicy.PolicyStatementPropertyProperties for defining aCfnMailManagerTrafficPolicy.A builder forCfnMailManagerTrafficPolicyPropsAn implementation forCfnMailManagerTrafficPolicyPropsSpecify a new IP address filter.A fluent builder forCfnReceiptFilter.Specifies an IP address filter.A builder forCfnReceiptFilter.FilterPropertyAn implementation forCfnReceiptFilter.FilterPropertyA receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.A builder forCfnReceiptFilter.IpFilterPropertyAn implementation forCfnReceiptFilter.IpFilterPropertyProperties for defining aCfnReceiptFilter.A builder forCfnReceiptFilterPropsAn implementation forCfnReceiptFilterPropsSpecifies a receipt rule.An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own.A builder forCfnReceiptRule.ActionPropertyAn implementation forCfnReceiptRule.ActionPropertyWhen included in a receipt rule, this action adds a header to the received email.A builder forCfnReceiptRule.AddHeaderActionPropertyAn implementation forCfnReceiptRule.AddHeaderActionPropertyWhen included in a receipt rule, this action rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).A builder forCfnReceiptRule.BounceActionPropertyAn implementation forCfnReceiptRule.BounceActionPropertyA fluent builder forCfnReceiptRule.When included in a receipt rule, this action parses the received message and starts an email contact in Amazon Connect on your behalf.A builder forCfnReceiptRule.ConnectActionPropertyAn implementation forCfnReceiptRule.ConnectActionPropertyWhen included in a receipt rule, this action calls an AWS Lambda function and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).A builder forCfnReceiptRule.LambdaActionPropertyAn implementation forCfnReceiptRule.LambdaActionPropertyReceipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.A builder forCfnReceiptRule.RulePropertyAn implementation forCfnReceiptRule.RulePropertyWhen included in a receipt rule, this action saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).A builder forCfnReceiptRule.S3ActionPropertyAn implementation forCfnReceiptRule.S3ActionPropertyThe action to publish the email content to an Amazon SNS topic.A builder forCfnReceiptRule.SNSActionPropertyAn implementation forCfnReceiptRule.SNSActionPropertyWhen included in a receipt rule, this action terminates the evaluation of the receipt rule set and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).A builder forCfnReceiptRule.StopActionPropertyAn implementation forCfnReceiptRule.StopActionPropertyWhen included in a receipt rule, this action calls Amazon WorkMail and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).A builder forCfnReceiptRule.WorkmailActionPropertyAn implementation forCfnReceiptRule.WorkmailActionPropertyProperties for defining aCfnReceiptRule.A builder forCfnReceiptRulePropsAn implementation forCfnReceiptRulePropsCreates an empty receipt rule set.A fluent builder forCfnReceiptRuleSet.Properties for defining aCfnReceiptRuleSet.A builder forCfnReceiptRuleSetPropsAn implementation forCfnReceiptRuleSetPropsSpecifies an email template.A fluent builder forCfnTemplate.An object that defines the email template to use for an email message, and the values to use for any message variables in that template.A builder forCfnTemplate.TemplatePropertyAn implementation forCfnTemplate.TemplatePropertyProperties for defining aCfnTemplate.A builder forCfnTemplatePropsAn implementation forCfnTemplatePropsThe Virtual Deliverability Manager (VDM) attributes that apply to your Amazon SES account.A fluent builder forCfnVdmAttributes.An object containing additional settings for your VDM configuration as applicable to the Dashboard.A builder forCfnVdmAttributes.DashboardAttributesPropertyAn implementation forCfnVdmAttributes.DashboardAttributesPropertyAn object containing additional settings for your VDM configuration as applicable to the Guardian.A builder forCfnVdmAttributes.GuardianAttributesPropertyAn implementation forCfnVdmAttributes.GuardianAttributesPropertyProperties for defining aCfnVdmAttributes.A builder forCfnVdmAttributesPropsAn implementation forCfnVdmAttributesPropsA CloudWatch dimension upon which to categorize your emails.A builder forCloudWatchDimensionAn implementation forCloudWatchDimensionSource for CloudWatch dimension.A configuration set.A fluent builder forConfigurationSet.A configuration set event destination.A fluent builder forConfigurationSetEventDestination.Options for a configuration set event destination.A builder forConfigurationSetEventDestinationOptionsAn implementation forConfigurationSetEventDestinationOptionsProperties for a configuration set event destination.A builder forConfigurationSetEventDestinationPropsAn implementation forConfigurationSetEventDestinationPropsA reference to a ConfigurationSetEventDestination resource.A builder forConfigurationSetEventDestinationReferenceAn implementation forConfigurationSetEventDestinationReferenceProperties for a configuration set.A builder forConfigurationSetPropsAn implementation forConfigurationSetPropsA reference to a ConfigurationSet resource.A builder forConfigurationSetReferenceAn implementation forConfigurationSetReferenceTLS policy for a configuration set.A reference to a ContactList resource.A builder forContactListReferenceAn implementation forContactListReferenceA dedicated IP pool.A fluent builder forDedicatedIpPool.Properties for a dedicated IP pool.A builder forDedicatedIpPoolPropsAn implementation forDedicatedIpPoolPropsA reference to a DedicatedIpPool resource.A builder forDedicatedIpPoolReferenceAn implementation forDedicatedIpPoolReferenceThe identity to use for DKIM.Configuration for DKIM identity.A builder forDkimIdentityConfigAn implementation forDkimIdentityConfigA DKIM record.A builder forDkimRecordAn implementation forDkimRecordA rule added at the top of the rule set to drop spam/virus.A fluent builder forDropSpamReceiptRule.Example:A builder forDropSpamReceiptRulePropsAn implementation forDropSpamReceiptRulePropsThe signing key length for Easy DKIM.An email identity.A fluent builder forEmailIdentity.Properties for an email identity.A builder forEmailIdentityPropsAn implementation forEmailIdentityPropsA reference to a EmailIdentity resource.A builder forEmailIdentityReferenceAn implementation forEmailIdentityReferenceEmail sending event.An event destination.An object that defines an Amazon Data Firehose destination for email events.A builder forFirehoseDeliveryStreamDestinationAn implementation forFirehoseDeliveryStreamDestinationHTTPS policy option for the protocol of the open and click tracking links for your custom redirect domain.A configuration set.Internal default implementation forIConfigurationSet.A proxy class which represents a concrete javascript instance of this type.A configuration set event destination.Internal default implementation forIConfigurationSetEventDestination.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a ConfigurationSetEventDestination.Internal default implementation forIConfigurationSetEventDestinationRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a ConfigurationSet.Internal default implementation forIConfigurationSetRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a ContactList.Internal default implementation forIContactListRef.A proxy class which represents a concrete javascript instance of this type.A dedicated IP pool.Internal default implementation forIDedicatedIpPool.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a DedicatedIpPool.Internal default implementation forIDedicatedIpPoolRef.A proxy class which represents a concrete javascript instance of this type.Identity.An email identity.Internal default implementation forIEmailIdentity.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a EmailIdentity.Internal default implementation forIEmailIdentityRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerAddonInstance.Internal default implementation forIMailManagerAddonInstanceRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerAddonSubscription.Internal default implementation forIMailManagerAddonSubscriptionRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerAddressList.Internal default implementation forIMailManagerAddressListRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerArchive.Internal default implementation forIMailManagerArchiveRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerIngressPoint.Internal default implementation forIMailManagerIngressPointRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerRelay.Internal default implementation forIMailManagerRelayRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerRuleSet.Internal default implementation forIMailManagerRuleSetRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a MailManagerTrafficPolicy.Internal default implementation forIMailManagerTrafficPolicyRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a ReceiptFilter.Internal default implementation forIReceiptFilterRef.A proxy class which represents a concrete javascript instance of this type.A receipt rule.Internal default implementation forIReceiptRule.A proxy class which represents a concrete javascript instance of this type.An abstract action for a receipt rule.Internal default implementation forIReceiptRuleAction.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a ReceiptRule.Internal default implementation forIReceiptRuleRef.A proxy class which represents a concrete javascript instance of this type.A receipt rule set.Internal default implementation forIReceiptRuleSet.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a ReceiptRuleSet.Internal default implementation forIReceiptRuleSetRef.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a Template.Internal default implementation forITemplateRef.A proxy class which represents a concrete javascript instance of this type.Virtual Deliverability Manager (VDM) attributes.Internal default implementation forIVdmAttributes.A proxy class which represents a concrete javascript instance of this type.(experimental) Indicates that this resource can be referenced as a VdmAttributes.Internal default implementation forIVdmAttributesRef.A proxy class which represents a concrete javascript instance of this type.LambdaAction configuration.A builder forLambdaActionConfigAn implementation forLambdaActionConfigThe action to take if the required MX record for the MAIL FROM domain isn't found.A reference to a MailManagerAddonInstance resource.A builder forMailManagerAddonInstanceReferenceAn implementation forMailManagerAddonInstanceReferenceA reference to a MailManagerAddonSubscription resource.A builder forMailManagerAddonSubscriptionReferenceAn implementation forMailManagerAddonSubscriptionReferenceA reference to a MailManagerAddressList resource.A builder forMailManagerAddressListReferenceAn implementation forMailManagerAddressListReferenceA reference to a MailManagerArchive resource.A builder forMailManagerArchiveReferenceAn implementation forMailManagerArchiveReferenceA reference to a MailManagerIngressPoint resource.A builder forMailManagerIngressPointReferenceAn implementation forMailManagerIngressPointReferenceA reference to a MailManagerRelay resource.A builder forMailManagerRelayReferenceAn implementation forMailManagerRelayReferenceA reference to a MailManagerRuleSet resource.A builder forMailManagerRuleSetReferenceAn implementation forMailManagerRuleSetReferenceA reference to a MailManagerTrafficPolicy resource.A builder forMailManagerTrafficPolicyReferenceAn implementation forMailManagerTrafficPolicyReferenceA receipt filter.A fluent builder forReceiptFilter.The policy for the receipt filter.Construction properties for a ReceiptFilter.A builder forReceiptFilterPropsAn implementation forReceiptFilterPropsA reference to a ReceiptFilter resource.A builder forReceiptFilterReferenceAn implementation forReceiptFilterReferenceA new receipt rule.A fluent builder forReceiptRule.Properties for a receipt rule action.A builder forReceiptRuleActionConfigAn implementation forReceiptRuleActionConfigOptions to add a receipt rule to a receipt rule set.A builder forReceiptRuleOptionsAn implementation forReceiptRuleOptionsConstruction properties for a ReceiptRule.A builder forReceiptRulePropsAn implementation forReceiptRulePropsA reference to a ReceiptRule resource.A builder forReceiptRuleReferenceAn implementation forReceiptRuleReferenceA new receipt rule set.A fluent builder forReceiptRuleSet.Construction properties for a ReceiptRuleSet.A builder forReceiptRuleSetPropsAn implementation forReceiptRuleSetPropsA reference to a ReceiptRuleSet resource.A builder forReceiptRuleSetReferenceAn implementation forReceiptRuleSetReferenceS3Action configuration.A builder forS3ActionConfigAn implementation forS3ActionConfigScaling mode to use for this IP pool.SNSAction configuration.A builder forSNSActionConfigAn implementation forSNSActionConfigStopAction configuration.A builder forStopActionConfigAn implementation forStopActionConfigReasons for which recipient email addresses should be automatically added to your account's suppression list.A reference to a Template resource.A builder forTemplateReferenceAn implementation forTemplateReferenceThe type of TLS policy for a receipt rule.Virtual Deliverability Manager (VDM) attributes.A fluent builder forVdmAttributes.Properties for the Virtual Deliverability Manager (VDM) attributes.A builder forVdmAttributesPropsAn implementation forVdmAttributesPropsA reference to a VdmAttributes resource.A builder forVdmAttributesReferenceAn implementation forVdmAttributesReferenceProperties for the Virtual Deliverability Manager (VDM) options that apply to the configuration set.A builder forVdmOptionsAn implementation forVdmOptionsWorkmailAction configuration.A builder forWorkmailActionConfigAn implementation forWorkmailActionConfig