Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIPToEvaluateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIPToEvaluateProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The structure for an IP based condition matching on the incoming mail.
Instance Attribute Summary collapse
-
#attribute ⇒ String
readonly
An enum type representing the allowed attribute types for an IP condition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute:) ⇒ IngressIPToEvaluateProperty
constructor
A new instance of IngressIPToEvaluateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attribute:) ⇒ IngressIPToEvaluateProperty
Returns a new instance of IngressIPToEvaluateProperty.
732 733 734 735 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 732 def initialize(attribute:) @attribute = attribute Jsii::Type.check_type(@attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attribute") end |
Instance Attribute Details
#attribute ⇒ String (readonly)
An enum type representing the allowed attribute types for an IP condition.
741 742 743 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 741 def attribute @attribute end |
Class Method Details
.jsii_properties ⇒ Object
743 744 745 746 747 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 743 def self.jsii_properties { :attribute => "attribute", } end |
Instance Method Details
#to_jsii ⇒ Object
749 750 751 752 753 754 755 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 749 def to_jsii result = {} result.merge!({ "attribute" => @attribute, }) result.compact end |