Class: AWSCDK::PinpointEmail::CfnConfigurationSet::SendingOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PinpointEmail::CfnConfigurationSet::SendingOptionsProperty
- Defined in:
- pinpoint_email/cfn_configuration_set.rb
Overview
Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.
Instance Attribute Summary collapse
-
#sending_enabled ⇒ Boolean, ...
readonly
If
true, email sending is enabled for the configuration set.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sending_enabled: nil) ⇒ SendingOptionsProperty
constructor
A new instance of SendingOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sending_enabled: nil) ⇒ SendingOptionsProperty
Returns a new instance of SendingOptionsProperty.
647 648 649 650 |
# File 'pinpoint_email/cfn_configuration_set.rb', line 647 def initialize(sending_enabled: nil) @sending_enabled = sending_enabled Jsii::Type.check_type(@sending_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "sendingEnabled") unless @sending_enabled.nil? end |
Instance Attribute Details
#sending_enabled ⇒ Boolean, ... (readonly)
If true , email sending is enabled for the configuration set.
If false , email sending is disabled for the configuration set.
658 659 660 |
# File 'pinpoint_email/cfn_configuration_set.rb', line 658 def sending_enabled @sending_enabled end |
Class Method Details
.jsii_properties ⇒ Object
660 661 662 663 664 |
# File 'pinpoint_email/cfn_configuration_set.rb', line 660 def self.jsii_properties { :sending_enabled => "sendingEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
666 667 668 669 670 671 672 |
# File 'pinpoint_email/cfn_configuration_set.rb', line 666 def to_jsii result = {} result.merge!({ "sendingEnabled" => @sending_enabled, }) result.compact end |