Class: AWSCDK::SES::CfnConfigurationSet::SuppressionOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSet::SuppressionOptionsProperty
- Defined in:
- ses/cfn_configuration_set.rb
Overview
An object that contains information about the suppression list preferences for your account.
Instance Attribute Summary collapse
-
#suppressed_reasons ⇒ Array<String>?
readonly
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
-
#validation_options ⇒ AWSCDK::IResolvable, ...
readonly
An object that contains information about the validation options for your account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(suppressed_reasons: nil, validation_options: nil) ⇒ SuppressionOptionsProperty
constructor
A new instance of SuppressionOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(suppressed_reasons: nil, validation_options: nil) ⇒ SuppressionOptionsProperty
Returns a new instance of SuppressionOptionsProperty.
958 959 960 961 962 963 |
# File 'ses/cfn_configuration_set.rb', line 958 def initialize(suppressed_reasons: nil, validation_options: nil) @suppressed_reasons = suppressed_reasons Jsii::Type.check_type(@suppressed_reasons, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "suppressedReasons") unless @suppressed_reasons.nil? @validation_options = .is_a?(Hash) ? ::AWSCDK::SES::CfnConfigurationSet::ValidationOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@validation_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuQ29uZmlndXJhdGlvblNldC5WYWxpZGF0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "validationOptions") unless @validation_options.nil? end |
Instance Attribute Details
#suppressed_reasons ⇒ Array<String>? (readonly)
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
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.
974 975 976 |
# File 'ses/cfn_configuration_set.rb', line 974 def suppressed_reasons @suppressed_reasons end |
#validation_options ⇒ AWSCDK::IResolvable, ... (readonly)
An object that contains information about the validation options for your account.
979 980 981 |
# File 'ses/cfn_configuration_set.rb', line 979 def @validation_options end |
Class Method Details
.jsii_properties ⇒ Object
981 982 983 984 985 986 |
# File 'ses/cfn_configuration_set.rb', line 981 def self.jsii_properties { :suppressed_reasons => "suppressedReasons", :validation_options => "validationOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
988 989 990 991 992 993 994 995 |
# File 'ses/cfn_configuration_set.rb', line 988 def to_jsii result = {} result.merge!({ "suppressedReasons" => @suppressed_reasons, "validationOptions" => @validation_options, }) result.compact end |