Interface CfnEmailIdentity.FeedbackAttributesProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEmailIdentity.FeedbackAttributesProperty.Jsii$Proxy
Enclosing class:
CfnEmailIdentity

@Stability(Stable) public static interface CfnEmailIdentity.FeedbackAttributesProperty extends software.amazon.jsii.JsiiSerializable
Used to enable or disable feedback forwarding for an identity.

This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.

Example:

 // 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.*;
 FeedbackAttributesProperty feedbackAttributesProperty = FeedbackAttributesProperty.builder()
         .emailForwardingEnabled(false)
         .build();
 
  • Method Details

    • getEmailForwardingEnabled

      @Stability(Stable) @Nullable default Object getEmailForwardingEnabled()
      Sets the feedback forwarding configuration for the identity.

      If the value is true , you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path header of the original email.

      You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).

    • builder

      @Stability(Stable) static CfnEmailIdentity.FeedbackAttributesProperty.Builder builder()
      Returns:
      a CfnEmailIdentity.FeedbackAttributesProperty.Builder of CfnEmailIdentity.FeedbackAttributesProperty