Class: AWSCDK::PinpointEmail::CfnConfigurationSetProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::PinpointEmail::CfnConfigurationSetProps
- Defined in:
- pinpoint_email/cfn_configuration_set_props.rb
Overview
Properties for defining a CfnConfigurationSet.
Instance Attribute Summary collapse
-
#delivery_options ⇒ AWSCDK::IResolvable, ...
readonly
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
-
#name ⇒ String
readonly
The name of the configuration set.
-
#reputation_options ⇒ AWSCDK::IResolvable, ...
readonly
An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
-
#sending_options ⇒ AWSCDK::IResolvable, ...
readonly
An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An object that defines the tags (keys and values) that you want to associate with the configuration set.
-
#tracking_options ⇒ AWSCDK::IResolvable, ...
readonly
An object that defines the open and click tracking options for emails that you send using the configuration set.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, delivery_options: nil, reputation_options: nil, sending_options: nil, tags: nil, tracking_options: nil) ⇒ CfnConfigurationSetProps
constructor
A new instance of CfnConfigurationSetProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, delivery_options: nil, reputation_options: nil, sending_options: nil, tags: nil, tracking_options: nil) ⇒ CfnConfigurationSetProps
Returns a new instance of CfnConfigurationSetProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 15 def initialize(name:, delivery_options: nil, reputation_options: nil, sending_options: nil, tags: nil, tracking_options: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @delivery_options = .is_a?(Hash) ? ::AWSCDK::PinpointEmail::CfnConfigurationSet::DeliveryOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@delivery_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19waW5wb2ludGVtYWlsLkNmbkNvbmZpZ3VyYXRpb25TZXQuRGVsaXZlcnlPcHRpb25zUHJvcGVydHkifV19fQ==")), "deliveryOptions") unless @delivery_options.nil? @reputation_options = .is_a?(Hash) ? ::AWSCDK::PinpointEmail::CfnConfigurationSet::ReputationOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@reputation_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19waW5wb2ludGVtYWlsLkNmbkNvbmZpZ3VyYXRpb25TZXQuUmVwdXRhdGlvbk9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "reputationOptions") unless @reputation_options.nil? @sending_options = .is_a?(Hash) ? ::AWSCDK::PinpointEmail::CfnConfigurationSet::SendingOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@sending_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19waW5wb2ludGVtYWlsLkNmbkNvbmZpZ3VyYXRpb25TZXQuU2VuZGluZ09wdGlvbnNQcm9wZXJ0eSJ9XX19")), "sendingOptions") unless @sending_options.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? @tracking_options = .is_a?(Hash) ? ::AWSCDK::PinpointEmail::CfnConfigurationSet::TrackingOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@tracking_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19waW5wb2ludGVtYWlsLkNmbkNvbmZpZ3VyYXRpb25TZXQuVHJhY2tpbmdPcHRpb25zUHJvcGVydHkifV19fQ==")), "trackingOptions") unless @tracking_options.nil? end |
Instance Attribute Details
#delivery_options ⇒ AWSCDK::IResolvable, ... (readonly)
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
39 40 41 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 39 def @delivery_options end |
#name ⇒ String (readonly)
The name of the configuration set.
34 35 36 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 34 def name @name end |
#reputation_options ⇒ AWSCDK::IResolvable, ... (readonly)
An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
44 45 46 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 44 def @reputation_options end |
#sending_options ⇒ AWSCDK::IResolvable, ... (readonly)
An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
49 50 51 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 49 def @sending_options end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An object that defines the tags (keys and values) that you want to associate with the configuration set.
54 55 56 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 54 def @tags end |
#tracking_options ⇒ AWSCDK::IResolvable, ... (readonly)
An object that defines the open and click tracking options for emails that you send using the configuration set.
59 60 61 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 59 def @tracking_options end |
Class Method Details
.jsii_properties ⇒ Object
61 62 63 64 65 66 67 68 69 70 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 61 def self.jsii_properties { :name => "name", :delivery_options => "deliveryOptions", :reputation_options => "reputationOptions", :sending_options => "sendingOptions", :tags => "tags", :tracking_options => "trackingOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'pinpoint_email/cfn_configuration_set_props.rb', line 72 def to_jsii result = {} result.merge!({ "name" => @name, "deliveryOptions" => @delivery_options, "reputationOptions" => @reputation_options, "sendingOptions" => @sending_options, "tags" => @tags, "trackingOptions" => @tracking_options, }) result.compact end |