interface TargetProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeStarNotifications.CfnNotificationRule.TargetProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodestarnotifications#CfnNotificationRule_TargetProperty |
![]() | software.amazon.awscdk.services.codestarnotifications.CfnNotificationRule.TargetProperty |
![]() | aws_cdk.aws_codestarnotifications.CfnNotificationRule.TargetProperty |
![]() | aws-cdk-lib » aws_codestarnotifications » CfnNotificationRule » TargetProperty |
Information about the AWS Chatbot topics or AWS Chatbot clients associated with a notification rule.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codestarnotifications as codestarnotifications } from 'aws-cdk-lib';
const targetProperty: codestarnotifications.CfnNotificationRule.TargetProperty = {
targetAddress: 'targetAddress',
targetType: 'targetType',
};
Properties
Name | Type | Description |
---|---|---|
target | string | The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client. |
target | string | The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client. |
targetAddress
Type:
string
The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
targetType
Type:
string
The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client.
- Amazon Simple Notification Service topics are specified as
SNS
. - AWS Chatbot clients are specified as
AWSChatbotSlack
. - AWS Chatbot clients for Microsoft Teams are specified as
AWSChatbotMicrosoftTeams
.