Class: AWSCDK::SES::CfnMailManagerRuleSet::AnalysisProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerRuleSet::AnalysisProperty
- Defined in:
- ses/cfn_mail_manager_rule_set.rb
Overview
The result of an analysis can be used in conditions to trigger actions.
Analyses can inspect the email content and report a certain aspect of the email.
Instance Attribute Summary collapse
-
#analyzer ⇒ String
readonly
The Amazon Resource Name (ARN) of an Add On.
-
#result_field ⇒ String
readonly
The returned value from an Add On.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(analyzer:, result_field:) ⇒ AnalysisProperty
constructor
A new instance of AnalysisProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(analyzer:, result_field:) ⇒ AnalysisProperty
Returns a new instance of AnalysisProperty.
627 628 629 630 631 632 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 627 def initialize(analyzer:, result_field:) @analyzer = analyzer Jsii::Type.check_type(@analyzer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "analyzer") @result_field = result_field Jsii::Type.check_type(@result_field, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resultField") end |
Instance Attribute Details
#analyzer ⇒ String (readonly)
The Amazon Resource Name (ARN) of an Add On.
638 639 640 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 638 def analyzer @analyzer end |
#result_field ⇒ String (readonly)
The returned value from an Add On.
643 644 645 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 643 def result_field @result_field end |
Class Method Details
.jsii_properties ⇒ Object
645 646 647 648 649 650 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 645 def self.jsii_properties { :analyzer => "analyzer", :result_field => "resultField", } end |
Instance Method Details
#to_jsii ⇒ Object
652 653 654 655 656 657 658 659 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 652 def to_jsii result = {} result.merge!({ "analyzer" => @analyzer, "resultField" => @result_field, }) result.compact end |