Class: AWSCDK::SES::CfnMailManagerRuleSet::ReplaceRecipientActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerRuleSet::ReplaceRecipientActionProperty
- Defined in:
- ses/cfn_mail_manager_rule_set.rb
Overview
This action replaces the email envelope recipients with the given list of recipients.
If the condition of this action applies only to a subset of recipients, only those recipients are replaced with the recipients specified in the action. The message contents and headers are unaffected by this action, only the envelope recipients are updated.
Instance Attribute Summary collapse
-
#replace_with ⇒ Array<String>?
readonly
This action specifies the replacement recipient email addresses to insert.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(replace_with: nil) ⇒ ReplaceRecipientActionProperty
constructor
A new instance of ReplaceRecipientActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(replace_with: nil) ⇒ ReplaceRecipientActionProperty
Returns a new instance of ReplaceRecipientActionProperty.
1033 1034 1035 1036 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1033 def initialize(replace_with: nil) @replace_with = replace_with Jsii::Type.check_type(@replace_with, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "replaceWith") unless @replace_with.nil? end |
Instance Attribute Details
#replace_with ⇒ Array<String>? (readonly)
This action specifies the replacement recipient email addresses to insert.
1042 1043 1044 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1042 def replace_with @replace_with end |
Class Method Details
.jsii_properties ⇒ Object
1044 1045 1046 1047 1048 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1044 def self.jsii_properties { :replace_with => "replaceWith", } end |
Instance Method Details
#to_jsii ⇒ Object
1050 1051 1052 1053 1054 1055 1056 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1050 def to_jsii result = {} result.merge!({ "replaceWith" => @replace_with, }) result.compact end |