Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressTLSProtocolExpressionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressTLSProtocolExpressionProperty
- Defined in:
- ses/cfn_mail_manager_traffic_policy.rb
Overview
The structure for a TLS related condition matching on the incoming mail.
Instance Attribute Summary collapse
-
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressTLSProtocolToEvaluateProperty
readonly
The left hand side argument of a TLS condition expression.
-
#operator ⇒ String
readonly
The matching operator for a TLS condition expression.
-
#value ⇒ String
readonly
The right hand side argument of a TLS condition expression.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(evaluate:, operator:, value:) ⇒ IngressTLSProtocolExpressionProperty
constructor
A new instance of IngressTLSProtocolExpressionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(evaluate:, operator:, value:) ⇒ IngressTLSProtocolExpressionProperty
Returns a new instance of IngressTLSProtocolExpressionProperty.
1043 1044 1045 1046 1047 1048 1049 1050 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1043 def initialize(evaluate:, operator:, value:) @evaluate = evaluate.is_a?(Hash) ? ::AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressTLSProtocolToEvaluateProperty.new(**evaluate.transform_keys(&:to_sym)) : evaluate Jsii::Type.check_type(@evaluate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuTWFpbE1hbmFnZXJUcmFmZmljUG9saWN5LkluZ3Jlc3NUbHNQcm90b2NvbFRvRXZhbHVhdGVQcm9wZXJ0eSJ9XX19")), "evaluate") @operator = operator Jsii::Type.check_type(@operator, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "operator") @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#evaluate ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressTLSProtocolToEvaluateProperty (readonly)
The left hand side argument of a TLS condition expression.
1056 1057 1058 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1056 def evaluate @evaluate end |
#operator ⇒ String (readonly)
The matching operator for a TLS condition expression.
1061 1062 1063 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1061 def operator @operator end |
#value ⇒ String (readonly)
The right hand side argument of a TLS condition expression.
1066 1067 1068 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1066 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1068 1069 1070 1071 1072 1073 1074 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1068 def self.jsii_properties { :evaluate => "evaluate", :operator => "operator", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1076 1077 1078 1079 1080 1081 1082 1083 1084 |
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 1076 def to_jsii result = {} result.merge!({ "evaluate" => @evaluate, "operator" => @operator, "value" => @value, }) result.compact end |