Class: AWSCDK::SES::CfnEmailIdentity::FeedbackAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnEmailIdentity::FeedbackAttributesProperty
- Defined in:
- ses/cfn_email_identity.rb
Overview
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.
Instance Attribute Summary collapse
-
#email_forwarding_enabled ⇒ Boolean, ...
readonly
Sets the feedback forwarding configuration for the identity.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(email_forwarding_enabled: nil) ⇒ FeedbackAttributesProperty
constructor
A new instance of FeedbackAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(email_forwarding_enabled: nil) ⇒ FeedbackAttributesProperty
Returns a new instance of FeedbackAttributesProperty.
783 784 785 786 |
# File 'ses/cfn_email_identity.rb', line 783 def initialize(email_forwarding_enabled: nil) @email_forwarding_enabled = email_forwarding_enabled Jsii::Type.check_type(@email_forwarding_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "emailForwardingEnabled") unless @email_forwarding_enabled.nil? end |
Instance Attribute Details
#email_forwarding_enabled ⇒ Boolean, ... (readonly)
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).
796 797 798 |
# File 'ses/cfn_email_identity.rb', line 796 def email_forwarding_enabled @email_forwarding_enabled end |
Class Method Details
.jsii_properties ⇒ Object
798 799 800 801 802 |
# File 'ses/cfn_email_identity.rb', line 798 def self.jsii_properties { :email_forwarding_enabled => "emailForwardingEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
804 805 806 807 808 809 810 |
# File 'ses/cfn_email_identity.rb', line 804 def to_jsii result = {} result.merge!({ "emailForwardingEnabled" => @email_forwarding_enabled, }) result.compact end |