Class: AWSCDK::SES::CfnMailManagerAddonSubscriptionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnMailManagerAddonSubscriptionProps
- Defined in:
- ses/cfn_mail_manager_addon_subscription_props.rb
Overview
Properties for defining a CfnMailManagerAddonSubscription.
Instance Attribute Summary collapse
-
#addon_name ⇒ String
readonly
The name of the Add On to subscribe to.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags used to organize, track, or control access for the resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(addon_name:, tags: nil) ⇒ CfnMailManagerAddonSubscriptionProps
constructor
A new instance of CfnMailManagerAddonSubscriptionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(addon_name:, tags: nil) ⇒ CfnMailManagerAddonSubscriptionProps
Returns a new instance of CfnMailManagerAddonSubscriptionProps.
11 12 13 14 15 16 |
# File 'ses/cfn_mail_manager_addon_subscription_props.rb', line 11 def initialize(addon_name:, tags: nil) @addon_name = addon_name Jsii::Type.check_type(@addon_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "addonName") @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? end |
Instance Attribute Details
#addon_name ⇒ String (readonly)
The name of the Add On to subscribe to.
You can only have one subscription for each Add On name.
Valid Values: TRENDMICRO_VSAPI | SPAMHAUS_DBL | ABUSIX_MAIL_INTELLIGENCE | VADE_ADVANCED_EMAIL_SECURITY
26 27 28 |
# File 'ses/cfn_mail_manager_addon_subscription_props.rb', line 26 def addon_name @addon_name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags used to organize, track, or control access for the resource.
For example, { "tags": "key2":"value2" }.
33 34 35 |
# File 'ses/cfn_mail_manager_addon_subscription_props.rb', line 33 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
35 36 37 38 39 40 |
# File 'ses/cfn_mail_manager_addon_subscription_props.rb', line 35 def self.jsii_properties { :addon_name => "addonName", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
42 43 44 45 46 47 48 49 |
# File 'ses/cfn_mail_manager_addon_subscription_props.rb', line 42 def to_jsii result = {} result.merge!({ "addonName" => @addon_name, "tags" => @tags, }) result.compact end |