Class: AWSCDK::SES::CfnMailManagerRuleSet::RuleIPToEvaluateProperty

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

Overview

The IP address to evaluate for this condition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute:) ⇒ RuleIPToEvaluateProperty

Returns a new instance of RuleIPToEvaluateProperty.

Parameters:

  • attribute (String)

    The attribute of the email to evaluate.



1492
1493
1494
1495
# File 'ses/cfn_mail_manager_rule_set.rb', line 1492

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

Instance Attribute Details

#attributeString (readonly)

The attribute of the email to evaluate.



1501
1502
1503
# File 'ses/cfn_mail_manager_rule_set.rb', line 1501

def attribute
  @attribute
end

Class Method Details

.jsii_propertiesObject



1503
1504
1505
1506
1507
# File 'ses/cfn_mail_manager_rule_set.rb', line 1503

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

Instance Method Details

#to_jsiiObject



1509
1510
1511
1512
1513
1514
1515
# File 'ses/cfn_mail_manager_rule_set.rb', line 1509

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