Class: AWSCDK::SES::VdmAttributesProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::VdmAttributesProps
- Defined in:
- ses/vdm_attributes_props.rb
Overview
Properties for the Virtual Deliverability Manager (VDM) attributes.
Instance Attribute Summary collapse
-
#engagement_metrics ⇒ Boolean?
readonly
Whether engagement metrics are enabled for your account.
-
#optimized_shared_delivery ⇒ Boolean?
readonly
Whether optimized shared delivery is enabled for your account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(engagement_metrics: nil, optimized_shared_delivery: nil) ⇒ VdmAttributesProps
constructor
A new instance of VdmAttributesProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(engagement_metrics: nil, optimized_shared_delivery: nil) ⇒ VdmAttributesProps
Returns a new instance of VdmAttributesProps.
9 10 11 12 13 14 |
# File 'ses/vdm_attributes_props.rb', line 9 def initialize(engagement_metrics: nil, optimized_shared_delivery: nil) @engagement_metrics = engagement_metrics Jsii::Type.check_type(@engagement_metrics, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "engagementMetrics") unless @engagement_metrics.nil? @optimized_shared_delivery = optimized_shared_delivery Jsii::Type.check_type(@optimized_shared_delivery, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "optimizedSharedDelivery") unless @optimized_shared_delivery.nil? end |
Instance Attribute Details
#engagement_metrics ⇒ Boolean? (readonly)
Note:
Default: true
Whether engagement metrics are enabled for your account.
20 21 22 |
# File 'ses/vdm_attributes_props.rb', line 20 def engagement_metrics @engagement_metrics end |
#optimized_shared_delivery ⇒ Boolean? (readonly)
Note:
Default: true
Whether optimized shared delivery is enabled for your account.
25 26 27 |
# File 'ses/vdm_attributes_props.rb', line 25 def optimized_shared_delivery @optimized_shared_delivery end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'ses/vdm_attributes_props.rb', line 27 def self.jsii_properties { :engagement_metrics => "engagementMetrics", :optimized_shared_delivery => "optimizedSharedDelivery", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'ses/vdm_attributes_props.rb', line 34 def to_jsii result = {} result.merge!({ "engagementMetrics" => @engagement_metrics, "optimizedSharedDelivery" => @optimized_shared_delivery, }) result.compact end |