Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressAnalysisProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ses/cfn_mail_manager_traffic_policy.rb

Overview

The Add On ARN and its returned value that is evaluated in a policy statement's conditional expression to either deny or block the incoming email.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(analyzer:, result_field:) ⇒ IngressAnalysisProperty

Returns a new instance of IngressAnalysisProperty.

Parameters:

  • analyzer (String)

    The Amazon Resource Name (ARN) of an Add On.

  • result_field (String)

    The returned value from an Add On.



604
605
606
607
608
609
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 604

def initialize(analyzer:, result_field:)
  @analyzer = analyzer
  Jsii::Type.check_type(@analyzer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "analyzer")
  @result_field = result_field
  Jsii::Type.check_type(@result_field, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resultField")
end

Instance Attribute Details

#analyzerString (readonly)

The Amazon Resource Name (ARN) of an Add On.



615
616
617
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 615

def analyzer
  @analyzer
end

#result_fieldString (readonly)

The returned value from an Add On.



620
621
622
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 620

def result_field
  @result_field
end

Class Method Details

.jsii_propertiesObject



622
623
624
625
626
627
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 622

def self.jsii_properties
  {
    :analyzer => "analyzer",
    :result_field => "resultField",
  }
end

Instance Method Details

#to_jsiiObject



629
630
631
632
633
634
635
636
# File 'ses/cfn_mail_manager_traffic_policy.rb', line 629

def to_jsii
  result = {}
  result.merge!({
    "analyzer" => @analyzer,
    "resultField" => @result_field,
  })
  result.compact
end