Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressTLSProtocolExpressionProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(evaluate:, operator:, value:) ⇒ IngressTLSProtocolExpressionProperty

Returns a new instance of IngressTLSProtocolExpressionProperty.

Parameters:



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

#operatorString (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

#valueString (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_propertiesObject



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_jsiiObject



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