Class: AWSCDK::SSMIncidents::CfnResponsePlan::ChatChannelProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssm_incidents/cfn_response_plan.rb

Overview

The chat channel used for collaboration during an incident.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chatbot_sns: nil) ⇒ ChatChannelProperty

Returns a new instance of ChatChannelProperty.

Parameters:

  • chatbot_sns (Array<String>, nil) (defaults to: nil)

    The Amazon targets that uses to notify the chat channel of updates to an incident.



643
644
645
646
# File 'ssm_incidents/cfn_response_plan.rb', line 643

def initialize(chatbot_sns: nil)
  @chatbot_sns = chatbot_sns
  Jsii::Type.check_type(@chatbot_sns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "chatbotSns") unless @chatbot_sns.nil?
end

Instance Attribute Details

#chatbot_snsArray<String>? (readonly)

The Amazon targets that uses to notify the chat channel of updates to an incident.

You can also make updates to the incident through the chat channel by using the Amazon topics



654
655
656
# File 'ssm_incidents/cfn_response_plan.rb', line 654

def chatbot_sns
  @chatbot_sns
end

Class Method Details

.jsii_propertiesObject



656
657
658
659
660
# File 'ssm_incidents/cfn_response_plan.rb', line 656

def self.jsii_properties
  {
    :chatbot_sns => "chatbotSns",
  }
end

Instance Method Details

#to_jsiiObject



662
663
664
665
666
667
668
# File 'ssm_incidents/cfn_response_plan.rb', line 662

def to_jsii
  result = {}
  result.merge!({
    "chatbotSns" => @chatbot_sns,
  })
  result.compact
end