Class: AWSCDK::SES::WorkmailActionConfig
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::WorkmailActionConfig
- Defined in:
- ses/workmail_action_config.rb
Overview
WorkmailAction configuration.
Instance Attribute Summary collapse
-
#organization_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon WorkMail organization.
-
#topic_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(organization_arn:, topic_arn: nil) ⇒ WorkmailActionConfig
constructor
A new instance of WorkmailActionConfig.
- #to_jsii ⇒ Object
Constructor Details
#initialize(organization_arn:, topic_arn: nil) ⇒ WorkmailActionConfig
Returns a new instance of WorkmailActionConfig.
9 10 11 12 13 14 |
# File 'ses/workmail_action_config.rb', line 9 def initialize(organization_arn:, topic_arn: nil) @organization_arn = organization_arn Jsii::Type.check_type(@organization_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "organizationArn") @topic_arn = topic_arn Jsii::Type.check_type(@topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "topicArn") unless @topic_arn.nil? end |
Instance Attribute Details
#organization_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon WorkMail organization.
19 20 21 |
# File 'ses/workmail_action_config.rb', line 19 def organization_arn @organization_arn end |
#topic_arn ⇒ String? (readonly)
Note:
Default: - No notification is sent to SNS.
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called.
24 25 26 |
# File 'ses/workmail_action_config.rb', line 24 def topic_arn @topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
26 27 28 29 30 31 |
# File 'ses/workmail_action_config.rb', line 26 def self.jsii_properties { :organization_arn => "organizationArn", :topic_arn => "topicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'ses/workmail_action_config.rb', line 33 def to_jsii result = {} result.merge!({ "organizationArn" => @organization_arn, "topicArn" => @topic_arn, }) result.compact end |