ChatbotNotificationChannelProperty Struct
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 .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aiops as aiops } from 'aws-cdk-lib';
const chatbotNotificationChannelProperty: aiops.CfnInvestigationGroup.ChatbotNotificationChannelProperty = {
chatConfigurationArns: ['chatConfigurationArns'],
snsTopicArn: 'snsTopicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_aiops as aiops
chatbot_notification_channel_property = aiops.CfnInvestigationGroup.ChatbotNotificationChannelProperty(
chat_configuration_arns=["chatConfigurationArns"],
sns_topic_arn="snsTopicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.aiops.*;
ChatbotNotificationChannelProperty chatbotNotificationChannelProperty = ChatbotNotificationChannelProperty.builder()
.chatConfigurationArns(List.of("chatConfigurationArns"))
.snsTopicArn("snsTopicArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AIOps;
var chatbotNotificationChannelProperty = new ChatbotNotificationChannelProperty {
ChatConfigurationArns = new [] { "chatConfigurationArns" },
SnsTopicArn = "snsTopicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
chatbotNotificationChannelProperty := &ChatbotNotificationChannelProperty{
ChatConfigurationArns: []*string{
jsii.String("chatConfigurationArns"),
},
SnsTopicArn: jsii.String("snsTopicArn"),
}
Properties
chatConfigurationArnsoptionalstring[]chat_configuration_arnsoptionaltyping.List[str]chatConfigurationArnsoptionalList<String>ChatConfigurationArnsoptionalstring[]ChatConfigurationArnsoptional*[]*string #Returns the Amazon Resource Name (ARN) of any third-party chat integrations configured for the account.
snsTopicArnoptionalstringsns_topic_arnoptionalstrsnsTopicArnoptionalStringSnsTopicArnoptionalstringSnsTopicArnoptional*string #Returns the ARN of an Amazon topic used for third-party chat integrations.