Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIPToEvaluateProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute:) ⇒ IngressIPToEvaluateProperty

Returns a new instance of IngressIPToEvaluateProperty.

Parameters:

  • attribute (String)

    An enum type representing the allowed attribute types for an IP condition.



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

#attributeString (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_propertiesObject



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_jsiiObject



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