Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIpv6ExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIpv6ExpressionProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The union type representing the allowed types for the left hand side of an IPv6 condition.
Instance Attribute Summary collapse
-
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIpv6ToEvaluateProperty
readonly
The left hand side argument of an IPv6 condition expression.
-
#operator ⇒ String
readonly
The matching operator for an IPv6 condition expression.
-
#values ⇒ Array<String>
readonly
The right hand side argument of an IPv6 condition expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(evaluate:, operator:, values:) ⇒ IngressIpv6ExpressionProperty
constructor
A new instance of IngressIpv6ExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(evaluate:, operator:, values:) ⇒ IngressIpv6ExpressionProperty
Returns a new instance of IngressIpv6ExpressionProperty.
820 821 822 823 824 825 826 827 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 820 def initialize(evaluate:, operator:, values:) @evaluate = evaluate.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIpv6ToEvaluateProperty.new(**evaluate.transform_keys(&:to_sym)) : evaluate Jsii::Type.check_type(@evaluate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJUcmFmZmljUG9saWN5LkluZ3Jlc3NJcHY2VG9FdmFsdWF0ZVByb3BlcnR5In1dfX0=")), "evaluate") @operator = operator Jsii::Type.check_type(@operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operator") @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "values") end |
Instance Attribute Details
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIpv6ToEvaluateProperty (readonly)
The left hand side argument of an IPv6 condition expression.
833 834 835 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 833 def evaluate @evaluate end |
#operator ⇒ String (readonly)
The matching operator for an IPv6 condition expression.
838 839 840 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 838 def operator @operator end |
#values ⇒ Array<String> (readonly)
The right hand side argument of an IPv6 condition expression.
843 844 845 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 843 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
845 846 847 848 849 850 851 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 845 def self.jsii_properties { :evaluate => "evaluate", :operator => "operator", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
853 854 855 856 857 858 859 860 861 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 853 def to_jsii result = {} result.merge!({ "evaluate" => @evaluate, "operator" => @operator, "values" => @values, }) result.compact end |