Class: AWSCDK::SES::CfnMailManagerRuleSet::RuleVerdictToEvaluateProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ses/cfn_mail_manager_rule_set.rb

Overview

The verdict to evaluate in a verdict condition expression.

This data type is a UNION, so only one of the following members can be specified when used or returned.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(analysis: nil, attribute: nil) ⇒ RuleVerdictToEvaluateProperty

Returns a new instance of RuleVerdictToEvaluateProperty.

Parameters:



1899
1900
1901
1902
1903
1904
# File 'ses/cfn_mail_manager_rule_set.rb', line 1899

def initialize(analysis: nil, attribute: nil)
  @analysis = analysis.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerRuleSet::AnalysisProperty.new(**analysis.transform_keys(&:to_sym)) : analysis
  Jsii::Type.check_type(@analysis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJSdWxlU2V0LkFuYWx5c2lzUHJvcGVydHkifV19fQ==")), "analysis") unless @analysis.nil?
  @attribute = attribute
  Jsii::Type.check_type(@attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attribute") unless @attribute.nil?
end

Instance Attribute Details

#analysisAWSCDK::IResolvable, ... (readonly)

The Add On ARN and its returned value to evaluate in a verdict condition expression.



1910
1911
1912
# File 'ses/cfn_mail_manager_rule_set.rb', line 1910

def analysis
  @analysis
end

#attributeString? (readonly)

The email verdict attribute to evaluate in a string verdict expression.



1915
1916
1917
# File 'ses/cfn_mail_manager_rule_set.rb', line 1915

def attribute
  @attribute
end

Class Method Details

.jsii_propertiesObject



1917
1918
1919
1920
1921
1922
# File 'ses/cfn_mail_manager_rule_set.rb', line 1917

def self.jsii_properties
  {
    :analysis => "analysis",
    :attribute => "attribute",
  }
end

Instance Method Details

#to_jsiiObject



1924
1925
1926
1927
1928
1929
1930
1931
# File 'ses/cfn_mail_manager_rule_set.rb', line 1924

def to_jsii
  result = {}
  result.merge!({
    "analysis" => @analysis,
    "attribute" => @attribute,
  })
  result.compact
end