Class: AWSCDK::SES::CfnConfigurationSet::ConditionThresholdProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSet::ConditionThresholdProperty
- Defined in:
- ses/cfn_configuration_set.rb
Overview
The condition threshold settings for suppression validation.
Instance Attribute Summary collapse
-
#condition_threshold_enabled ⇒ String
readonly
Whether the condition threshold is enabled or disabled.
-
#overall_confidence_threshold ⇒ AWSCDK::IResolvable, ...
readonly
The overall confidence threshold settings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(condition_threshold_enabled:, overall_confidence_threshold: nil) ⇒ ConditionThresholdProperty
constructor
A new instance of ConditionThresholdProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(condition_threshold_enabled:, overall_confidence_threshold: nil) ⇒ ConditionThresholdProperty
Returns a new instance of ConditionThresholdProperty.
683 684 685 686 687 688 |
# File 'ses/cfn_configuration_set.rb', line 683 def initialize(condition_threshold_enabled:, overall_confidence_threshold: nil) @condition_threshold_enabled = condition_threshold_enabled Jsii::Type.check_type(@condition_threshold_enabled, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "conditionThresholdEnabled") @overall_confidence_threshold = overall_confidence_threshold.is_a?(Hash) ? ::AWSCDK::SES::CfnConfigurationSet::OverallConfidenceThresholdProperty.new(**overall_confidence_threshold.transform_keys(&:to_sym)) : overall_confidence_threshold Jsii::Type.check_type(@overall_confidence_threshold, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuQ29uZmlndXJhdGlvblNldC5PdmVyYWxsQ29uZmlkZW5jZVRocmVzaG9sZFByb3BlcnR5In1dfX0=")), "overallConfidenceThreshold") unless @overall_confidence_threshold.nil? end |
Instance Attribute Details
#condition_threshold_enabled ⇒ String (readonly)
Whether the condition threshold is enabled or disabled.
694 695 696 |
# File 'ses/cfn_configuration_set.rb', line 694 def condition_threshold_enabled @condition_threshold_enabled end |
#overall_confidence_threshold ⇒ AWSCDK::IResolvable, ... (readonly)
The overall confidence threshold settings.
699 700 701 |
# File 'ses/cfn_configuration_set.rb', line 699 def overall_confidence_threshold @overall_confidence_threshold end |
Class Method Details
.jsii_properties ⇒ Object
701 702 703 704 705 706 |
# File 'ses/cfn_configuration_set.rb', line 701 def self.jsii_properties { :condition_threshold_enabled => "conditionThresholdEnabled", :overall_confidence_threshold => "overallConfidenceThreshold", } end |
Instance Method Details
#to_jsii ⇒ Object
708 709 710 711 712 713 714 715 |
# File 'ses/cfn_configuration_set.rb', line 708 def to_jsii result = {} result.merge!({ "conditionThresholdEnabled" => @condition_threshold_enabled, "overallConfidenceThreshold" => @overall_confidence_threshold, }) result.compact end |