interface TargetProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeStarNotifications.CfnNotificationRule.TargetProperty |
Java | software.amazon.awscdk.services.codestarnotifications.CfnNotificationRule.TargetProperty |
Python | aws_cdk.aws_codestarnotifications.CfnNotificationRule.TargetProperty |
TypeScript | @aws-cdk/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 * as codestarnotifications from '@aws-cdk/aws-codestarnotifications';
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
.