Class: AWSCDK::SES::CfnConfigurationSet::SendingOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSet::SendingOptionsProperty
- Defined in:
- ses/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.
922 923 924 925 |
# File 'ses/cfn_configuration_set.rb', line 922 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.
933 934 935 |
# File 'ses/cfn_configuration_set.rb', line 933 def sending_enabled @sending_enabled end |
Class Method Details
.jsii_properties ⇒ Object
935 936 937 938 939 |
# File 'ses/cfn_configuration_set.rb', line 935 def self.jsii_properties { :sending_enabled => "sendingEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
941 942 943 944 945 946 947 |
# File 'ses/cfn_configuration_set.rb', line 941 def to_jsii result = {} result.merge!({ "sendingEnabled" => @sending_enabled, }) result.compact end |