Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIsInAddressListProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIsInAddressListProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The address lists and the address list attribute value that is evaluated in a policy statement's conditional expression to either deny or block the incoming email.
Instance Attribute Summary collapse
-
#address_lists ⇒ Array<String>
readonly
The address lists that will be used for evaluation.
-
#attribute ⇒ String
readonly
The email attribute that needs to be evaluated against the address list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(address_lists:, attribute:) ⇒ IngressIsInAddressListProperty
constructor
A new instance of IngressIsInAddressListProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(address_lists:, attribute:) ⇒ IngressIsInAddressListProperty
Returns a new instance of IngressIsInAddressListProperty.
905 906 907 908 909 910 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 905 def initialize(address_lists:, attribute:) @address_lists = address_lists Jsii::Type.check_type(@address_lists, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "addressLists") @attribute = attribute Jsii::Type.check_type(@attribute, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attribute") end |
Instance Attribute Details
#address_lists ⇒ Array<String> (readonly)
The address lists that will be used for evaluation.
916 917 918 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 916 def address_lists @address_lists end |
#attribute ⇒ String (readonly)
The email attribute that needs to be evaluated against the address list.
921 922 923 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 921 def attribute @attribute end |
Class Method Details
.jsii_properties ⇒ Object
923 924 925 926 927 928 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 923 def self.jsii_properties { :address_lists => "addressLists", :attribute => "attribute", } end |
Instance Method Details
#to_jsii ⇒ Object
930 931 932 933 934 935 936 937 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 930 def to_jsii result = {} result.merge!({ "addressLists" => @address_lists, "attribute" => @attribute, }) result.compact end |