Class: AWSCDK::SES::CfnMailManagerRuleSet::AnalysisProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(analyzer:, result_field:) ⇒ AnalysisProperty

Returns a new instance of AnalysisProperty.

Parameters:

  • analyzer (String)

    The Amazon Resource Name (ARN) of an Add On.

  • result_field (String)

    The returned value from an Add On.



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

#analyzerString (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_fieldString (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_propertiesObject



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_jsiiObject



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