Class: AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanToEvaluateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerRuleSet::RuleBooleanToEvaluateProperty
- Defined in:
- ses/cfn_mail_manager_rule_set.rb
Overview
The union type representing the allowed types of operands for a boolean condition.
Instance Attribute Summary collapse
-
#analysis ⇒ AWSCDK::IResolvable, ...
readonly
The Add On ARN and its returned value to evaluate in a boolean condition expression.
-
#attribute ⇒ String?
readonly
The boolean type representing the allowed attribute types for an email.
-
#is_in_address_list ⇒ AWSCDK::IResolvable, ...
readonly
The structure representing the address lists and address list attribute that will be used in evaluation of boolean expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(analysis: nil, attribute: nil, is_in_address_list: nil) ⇒ RuleBooleanToEvaluateProperty
constructor
A new instance of RuleBooleanToEvaluateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(analysis: nil, attribute: nil, is_in_address_list: nil) ⇒ RuleBooleanToEvaluateProperty
Returns a new instance of RuleBooleanToEvaluateProperty.
1256 1257 1258 1259 1260 1261 1262 1263 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1256 def initialize(analysis: nil, attribute: nil, is_in_address_list: 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? @is_in_address_list = is_in_address_list.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerRuleSet::RuleIsInAddressListProperty.new(**is_in_address_list.transform_keys(&:to_sym)) : is_in_address_list Jsii::Type.check_type(@is_in_address_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJSdWxlU2V0LlJ1bGVJc0luQWRkcmVzc0xpc3RQcm9wZXJ0eSJ9XX19")), "isInAddressList") unless @is_in_address_list.nil? end |
Instance Attribute Details
#analysis ⇒ AWSCDK::IResolvable, ... (readonly)
The Add On ARN and its returned value to evaluate in a boolean condition expression.
1269 1270 1271 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1269 def analysis @analysis end |
#attribute ⇒ String? (readonly)
The boolean type representing the allowed attribute types for an email.
1274 1275 1276 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1274 def attribute @attribute end |
#is_in_address_list ⇒ AWSCDK::IResolvable, ... (readonly)
The structure representing the address lists and address list attribute that will be used in evaluation of boolean expression.
1279 1280 1281 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1279 def is_in_address_list @is_in_address_list end |
Class Method Details
.jsii_properties ⇒ Object
1281 1282 1283 1284 1285 1286 1287 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1281 def self.jsii_properties { :analysis => "analysis", :attribute => "attribute", :is_in_address_list => "isInAddressList", } end |
Instance Method Details
#to_jsii ⇒ Object
1289 1290 1291 1292 1293 1294 1295 1296 1297 |
# File 'ses/cfn_mail_manager_rule_set.rb', line 1289 def to_jsii result = {} result.merge!({ "analysis" => @analysis, "attribute" => @attribute, "isInAddressList" => @is_in_address_list, }) result.compact end |