Class: AWSCDK::AIOps::CfnInvestigationGroup::ChatbotNotificationChannelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AIOps::CfnInvestigationGroup::ChatbotNotificationChannelProperty
- Defined in:
- ai_ops/cfn_investigation_group.rb
Overview
Use this structure to integrate CloudWatch investigations with chat applications.
This structure is a string array. For the first string, specify the ARN of an Amazon SNS topic. For the array of strings, specify the ARNs of one or more chat applications configurations that you want to associate with that topic. For more information about these configuration ARNs, see Getting started with Amazon Q in chat applications and Resource type defined by AWS Chatbot .
Instance Attribute Summary collapse
-
#chat_configuration_arns ⇒ Array<String>?
readonly
Returns the Amazon Resource Name (ARN) of any third-party chat integrations configured for the account.
-
#sns_topic_arn ⇒ String?
readonly
Returns the ARN of an Amazon topic used for third-party chat integrations.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(chat_configuration_arns: nil, sns_topic_arn: nil) ⇒ ChatbotNotificationChannelProperty
constructor
A new instance of ChatbotNotificationChannelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(chat_configuration_arns: nil, sns_topic_arn: nil) ⇒ ChatbotNotificationChannelProperty
Returns a new instance of ChatbotNotificationChannelProperty.
686 687 688 689 690 691 |
# File 'ai_ops/cfn_investigation_group.rb', line 686 def initialize(chat_configuration_arns: nil, sns_topic_arn: nil) @chat_configuration_arns = chat_configuration_arns Jsii::Type.check_type(@chat_configuration_arns, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "chatConfigurationArns") unless @chat_configuration_arns.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
#chat_configuration_arns ⇒ Array<String>? (readonly)
Returns the Amazon Resource Name (ARN) of any third-party chat integrations configured for the account.
697 698 699 |
# File 'ai_ops/cfn_investigation_group.rb', line 697 def chat_configuration_arns @chat_configuration_arns end |
#sns_topic_arn ⇒ String? (readonly)
Returns the ARN of an Amazon topic used for third-party chat integrations.
702 703 704 |
# File 'ai_ops/cfn_investigation_group.rb', line 702 def sns_topic_arn @sns_topic_arn end |
Class Method Details
.jsii_properties ⇒ Object
704 705 706 707 708 709 |
# File 'ai_ops/cfn_investigation_group.rb', line 704 def self.jsii_properties { :chat_configuration_arns => "chatConfigurationArns", :sns_topic_arn => "snsTopicArn", } end |
Instance Method Details
#to_jsii ⇒ Object
711 712 713 714 715 716 717 718 |
# File 'ai_ops/cfn_investigation_group.rb', line 711 def to_jsii result = {} result.merge!({ "chatConfigurationArns" => @chat_configuration_arns, "snsTopicArn" => @sns_topic_arn, }) result.compact end |