Class: AWSCDK::SES::AllowListReceiptFilterProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::AllowListReceiptFilterProps
- Defined in:
- ses/allow_list_receipt_filter_props.rb
Overview
Construction properties for am AllowListReceiptFilter.
Instance Attribute Summary collapse
-
#ips ⇒ Array<String>
readonly
A list of ip addresses or ranges to allow list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ips:) ⇒ AllowListReceiptFilterProps
constructor
A new instance of AllowListReceiptFilterProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ips:) ⇒ AllowListReceiptFilterProps
Returns a new instance of AllowListReceiptFilterProps.
8 9 10 11 |
# File 'ses/allow_list_receipt_filter_props.rb', line 8 def initialize(ips:) @ips = ips Jsii::Type.check_type(@ips, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "ips") end |
Instance Attribute Details
#ips ⇒ Array<String> (readonly)
A list of ip addresses or ranges to allow list.
16 17 18 |
# File 'ses/allow_list_receipt_filter_props.rb', line 16 def ips @ips end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'ses/allow_list_receipt_filter_props.rb', line 18 def self.jsii_properties { :ips => "ips", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'ses/allow_list_receipt_filter_props.rb', line 24 def to_jsii result = {} result.merge!({ "ips" => @ips, }) result.compact end |