Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressStringExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressStringExpressionProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The structure for a string based condition matching on the incoming mail.
Instance Attribute Summary collapse
-
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressStringToEvaluateProperty
readonly
The left hand side argument of a string condition expression.
- #operator ⇒ String readonly
-
#values ⇒ Array<String>
readonly
The right hand side argument of a string condition expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(evaluate:, operator:, values:) ⇒ IngressStringExpressionProperty
constructor
A new instance of IngressStringExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(evaluate:, operator:, values:) ⇒ IngressStringExpressionProperty
Returns a new instance of IngressStringExpressionProperty.
949 950 951 952 953 954 955 956 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 949 def initialize(evaluate:, operator:, values:) @evaluate = evaluate.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressStringToEvaluateProperty.new(**evaluate.transform_keys(&:to_sym)) : evaluate Jsii::Type.check_type(@evaluate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJUcmFmZmljUG9saWN5LkluZ3Jlc3NTdHJpbmdUb0V2YWx1YXRlUHJvcGVydHkifV19fQ==")), "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::IngressStringToEvaluateProperty (readonly)
The left hand side argument of a string condition expression.
962 963 964 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 962 def evaluate @evaluate end |
#operator ⇒ String (readonly)
965 966 967 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 965 def operator @operator end |
#values ⇒ Array<String> (readonly)
The right hand side argument of a string condition expression.
970 971 972 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 970 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
972 973 974 975 976 977 978 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 972 def self.jsii_properties { :evaluate => "evaluate", :operator => "operator", :values => "values", } end |
Instance Method Details
#to_jsii ⇒ Object
980 981 982 983 984 985 986 987 988 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 980 def to_jsii result = {} result.merge!({ "evaluate" => @evaluate, "operator" => @operator, "values" => @values, }) result.compact end |