Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressIpv6ExpressionProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(evaluate:, operator:, values:) ⇒ IngressIpv6ExpressionProperty

Returns a new instance of IngressIpv6ExpressionProperty.

Parameters:



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

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

#valuesArray<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_propertiesObject



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_jsiiObject



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