interface NotificationRuleTargetConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeStarNotifications.NotificationRuleTargetConfig |
Java | software.amazon.awscdk.services.codestarnotifications.NotificationRuleTargetConfig |
Python | aws_cdk.aws_codestarnotifications.NotificationRuleTargetConfig |
TypeScript (source) | @aws-cdk/aws-codestarnotifications » NotificationRuleTargetConfig |
Obtainable from
Slack
.bindAsNotificationRuleTarget()
, Topic
.bindAsNotificationRuleTarget()
Information about the SNS topic or AWS Chatbot client associated with a notification target.
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 notificationRuleTargetConfig: codestarnotifications.NotificationRuleTargetConfig = {
targetAddress: 'targetAddress',
targetType: 'targetType',
};
Properties
Name | Type | Description |
---|---|---|
target | string | The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client. |
target | string | The target type. |
targetAddress
Type:
string
The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
targetType
Type:
string
The target type.
Can be an Amazon SNS topic or AWS Chatbot client.