Class: AWSCDK::SES::CfnConfigurationSet::DeliveryOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSet::DeliveryOptionsProperty
- Defined in:
- ses/cfn_configuration_set.rb
Overview
Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).
Instance Attribute Summary collapse
-
#max_delivery_seconds ⇒ Numeric?
readonly
The name of the configuration set used when sent through a configuration set with archiving enabled.
-
#sending_pool_name ⇒ String?
readonly
The name of the dedicated IP pool to associate with the configuration set.
-
#tls_policy ⇒ String?
readonly
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_delivery_seconds: nil, sending_pool_name: nil, tls_policy: nil) ⇒ DeliveryOptionsProperty
constructor
A new instance of DeliveryOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_delivery_seconds: nil, sending_pool_name: nil, tls_policy: nil) ⇒ DeliveryOptionsProperty
Returns a new instance of DeliveryOptionsProperty.
763 764 765 766 767 768 769 770 |
# File 'ses/cfn_configuration_set.rb', line 763 def initialize(max_delivery_seconds: nil, sending_pool_name: nil, tls_policy: nil) @max_delivery_seconds = max_delivery_seconds Jsii::Type.check_type(@max_delivery_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxDeliverySeconds") unless @max_delivery_seconds.nil? @sending_pool_name = sending_pool_name Jsii::Type.check_type(@sending_pool_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sendingPoolName") unless @sending_pool_name.nil? @tls_policy = tls_policy Jsii::Type.check_type(@tls_policy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tlsPolicy") unless @tls_policy.nil? end |
Instance Attribute Details
#max_delivery_seconds ⇒ Numeric? (readonly)
The name of the configuration set used when sent through a configuration set with archiving enabled.
776 777 778 |
# File 'ses/cfn_configuration_set.rb', line 776 def max_delivery_seconds @max_delivery_seconds end |
#sending_pool_name ⇒ String? (readonly)
The name of the dedicated IP pool to associate with the configuration set.
781 782 783 |
# File 'ses/cfn_configuration_set.rb', line 781 def sending_pool_name @sending_pool_name end |
#tls_policy ⇒ String? (readonly)
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
If the value is REQUIRE , messages are only delivered if a TLS connection can be established. If the value is OPTIONAL , messages can be delivered in plain text if a TLS connection can't be established.
Valid Values: REQUIRE | OPTIONAL
790 791 792 |
# File 'ses/cfn_configuration_set.rb', line 790 def tls_policy @tls_policy end |
Class Method Details
.jsii_properties ⇒ Object
792 793 794 795 796 797 798 |
# File 'ses/cfn_configuration_set.rb', line 792 def self.jsii_properties { :max_delivery_seconds => "maxDeliverySeconds", :sending_pool_name => "sendingPoolName", :tls_policy => "tlsPolicy", } end |
Instance Method Details
#to_jsii ⇒ Object
800 801 802 803 804 805 806 807 808 |
# File 'ses/cfn_configuration_set.rb', line 800 def to_jsii result = {} result.merge!({ "maxDeliverySeconds" => @max_delivery_seconds, "sendingPoolName" => @sending_pool_name, "tlsPolicy" => @tls_policy, }) result.compact end |