Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressBooleanExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressBooleanExpressionProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The structure for a boolean condition matching on the incoming mail.
Instance Attribute Summary collapse
-
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressBooleanToEvaluateProperty
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:) ⇒ IngressBooleanExpressionProperty
constructor
A new instance of IngressBooleanExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(evaluate:, operator:) ⇒ IngressBooleanExpressionProperty
Returns a new instance of IngressBooleanExpressionProperty.
647 648 649 650 651 652 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 647 def initialize(evaluate:, operator:) @evaluate = evaluate.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressBooleanToEvaluateProperty.new(**evaluate.transform_keys(&:to_sym)) : evaluate Jsii::Type.check_type(@evaluate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJUcmFmZmljUG9saWN5LkluZ3Jlc3NCb29sZWFuVG9FdmFsdWF0ZVByb3BlcnR5In1dfX0=")), "evaluate") @operator = operator Jsii::Type.check_type(@operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operator") end |
Instance Attribute Details
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressBooleanToEvaluateProperty (readonly)
The operand on which to perform a boolean condition operation.
658 659 660 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 658 def evaluate @evaluate end |
#operator ⇒ String (readonly)
The matching operator for a boolean condition expression.
663 664 665 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 663 def operator @operator end |
Class Method Details
.jsii_properties ⇒ Object
665 666 667 668 669 670 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 665 def self.jsii_properties { :evaluate => "evaluate", :operator => "operator", } end |
Instance Method Details
#to_jsii ⇒ Object
672 673 674 675 676 677 678 679 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 672 def to_jsii result = {} result.merge!({ "evaluate" => @evaluate, "operator" => @operator, }) result.compact end |