Class: AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanExpressionProperty
- Defined in:
- ses/cfn_mail_manager_rule_set.rb
Overview
A boolean expression to be used in a rule condition.
Instance Attribute Summary collapse
-
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanToEvaluateProperty
readonly
The operand on which to perform a boolean condition operation.
-
#operator ⇒ String
readonly
The matching operator for a boolean condition expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(evaluate:, operator:) ⇒ RuleBooleanExpressionProperty
constructor
A new instance of RuleBooleanExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(evaluate:, operator:) ⇒ RuleBooleanExpressionProperty
Returns a new instance of RuleBooleanExpressionProperty.
1212 1213 1214 1215 1216 1217 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1212 def initialize(evaluate:, operator:) @evaluate = evaluate.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanToEvaluateProperty.new(**evaluate.transform_keys(&:to_sym)) : evaluate Jsii::Type.check_type(@evaluate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJSdWxlU2V0LlJ1bGVCb29sZWFuVG9FdmFsdWF0ZVByb3BlcnR5In1dfX0=")), "evaluate") @operator = operator Jsii::Type.check_type(@operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operator") end |
Instance Attribute Details
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanToEvaluateProperty (readonly)
The operand on which to perform a boolean condition operation.
1223 1224 1225 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1223 def evaluate @evaluate end |
#operator ⇒ String (readonly)
The matching operator for a boolean condition expression.
1228 1229 1230 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1228 def operator @operator end |
Class Method Details
.jsii_properties ⇒ Object
1230 1231 1232 1233 1234 1235 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1230 def self.jsii_properties { :evaluate => "evaluate", :operator => "operator", } end |
Instance Method Details
#to_jsii ⇒ Object
1237 1238 1239 1240 1241 1242 1243 1244 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1237 def to_jsii result = {} result.merge!({ "evaluate" => @evaluate, "operator" => @operator, }) result.compact end |