Class: AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressAnalysisProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerTrafficPolicy::IngressAnalysisProperty
- 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
-
#analyzer ⇒ String
readonly
The Amazon Resource Name (ARN) of an Add On.
-
#result_field ⇒ String
readonly
The returned value from an Add On.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(analyzer:, result_field:) ⇒ IngressAnalysisProperty
constructor
A new instance of IngressAnalysisProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(analyzer:, result_field:) ⇒ IngressAnalysisProperty
Returns a new instance of IngressAnalysisProperty.
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
#analyzer ⇒ String (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_field ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |