Class: AWSCDK::SES::CfnConfigurationSetEventDestination::SNSDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSetEventDestination::SNSDestinationProperty
- Defined in:
- ses/cfn_configuration_set_event_destination.rb
Overview
Contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
Event destinations, such as Amazon SNS, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide .
Instance Attribute Summary collapse
-
#topic_arn ⇒ String
readonly
The ARN of the Amazon SNS topic for email sending events.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(topic_arn:) ⇒ SNSDestinationProperty
constructor
A new instance of SNSDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(topic_arn:) ⇒ SNSDestinationProperty
Returns a new instance of SNSDestinationProperty.
817 818 819 820 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 817 def initialize(topic_arn:) @topic_arn = topic_arn Jsii::Type.check_type(@topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "topicArn") end |
Instance Attribute Details
#topic_arn ⇒ String (readonly)
The ARN of the Amazon SNS topic for email sending events.
You can find the ARN of a topic by using the ListTopics Amazon SNS operation.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
830 831 832 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 830 def topic_arn @topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
832 833 834 835 836 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 832 def self.jsii_properties { :topic_arn => "topicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
838 839 840 841 842 843 844 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 838 def to_jsii result = {} result.merge!({ "topicArn" => @topic_arn, }) result.compact end |