Class: AWSCDK::SES::CfnMailManagerRuleSet::RuleVerdictToEvaluateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerRuleSet::RuleVerdictToEvaluateProperty
- 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
-
#analysis ⇒ AWSCDK::IResolvable, ...
readonly
The Add On ARN and its returned value to evaluate in a verdict condition expression.
-
#attribute ⇒ String?
readonly
The email verdict attribute to evaluate in a string verdict expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(analysis: nil, attribute: nil) ⇒ RuleVerdictToEvaluateProperty
constructor
A new instance of RuleVerdictToEvaluateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(analysis: nil, attribute: nil) ⇒ RuleVerdictToEvaluateProperty
Returns a new instance of RuleVerdictToEvaluateProperty.
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
#analysis ⇒ AWSCDK::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 |
#attribute ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |