Class: AWSCDK::SSMIncidents::CfnResponsePlan::NotificationTargetItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMIncidents::CfnResponsePlan::NotificationTargetItemProperty
- Defined in:
- ssm_incidents/cfn_response_plan.rb
Overview
The Amazon topic that's used by to notify the incidents chat channel.
Instance Attribute Summary collapse
-
#sns_topic_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the Amazon topic.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sns_topic_arn: nil) ⇒ NotificationTargetItemProperty
constructor
A new instance of NotificationTargetItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sns_topic_arn: nil) ⇒ NotificationTargetItemProperty
Returns a new instance of NotificationTargetItemProperty.
897 898 899 900 |
# File 'ssm_incidents/cfn_response_plan.rb', line 897 def initialize(sns_topic_arn: nil) @sns_topic_arn = sns_topic_arn Jsii::Type.check_type(@sns_topic_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "snsTopicArn") unless @sns_topic_arn.nil? end |
Instance Attribute Details
#sns_topic_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the Amazon topic.
906 907 908 |
# File 'ssm_incidents/cfn_response_plan.rb', line 906 def sns_topic_arn @sns_topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
908 909 910 911 912 |
# File 'ssm_incidents/cfn_response_plan.rb', line 908 def self.jsii_properties { :sns_topic_arn => "snsTopicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
914 915 916 917 918 919 920 |
# File 'ssm_incidents/cfn_response_plan.rb', line 914 def to_jsii result = {} result.merge!({ "snsTopicArn" => @sns_topic_arn, }) result.compact end |