Class: AWSCDK::SES::CfnMailManagerRuleSet::RuleNumberToEvaluateProperty

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

Overview

The number to evaluate in a numeric condition expression.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute:) ⇒ RuleNumberToEvaluateProperty

Returns a new instance of RuleNumberToEvaluateProperty.

Parameters:

  • attribute (String)

    An email attribute that is used as the number to evaluate.



1621
1622
1623
1624
# File 'ses/cfn_mail_manager_rule_set.rb', line 1621

def initialize(attribute:)
  @attribute = attribute
  Jsii::Type.check_type(@attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attribute")
end

Instance Attribute Details

#attributeString (readonly)

An email attribute that is used as the number to evaluate.



1630
1631
1632
# File 'ses/cfn_mail_manager_rule_set.rb', line 1630

def attribute
  @attribute
end

Class Method Details

.jsii_propertiesObject



1632
1633
1634
1635
1636
# File 'ses/cfn_mail_manager_rule_set.rb', line 1632

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

Instance Method Details

#to_jsiiObject



1638
1639
1640
1641
1642
1643
1644
# File 'ses/cfn_mail_manager_rule_set.rb', line 1638

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