Class: AWSCDK::SES::CfnConfigurationSet::SendingOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sending_enabled: nil) ⇒ SendingOptionsProperty

Returns a new instance of SendingOptionsProperty.

Parameters:

  • sending_enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    If true , email sending is enabled for the configuration set.



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_enabledBoolean, ... (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_propertiesObject



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_jsiiObject



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