aws-cdk-lib.aws_codestarnotifications.NotificationRuleTargetConfig

interface NotificationRuleTargetConfig

LanguageType name
.NETAmazon.CDK.AWS.CodeStarNotifications.NotificationRuleTargetConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodestarnotifications#NotificationRuleTargetConfig
Javasoftware.amazon.awscdk.services.codestarnotifications.NotificationRuleTargetConfig
Pythonaws_cdk.aws_codestarnotifications.NotificationRuleTargetConfig
TypeScript (source)aws-cdk-lib » aws_codestarnotifications » NotificationRuleTargetConfig

Obtainable from SlackChannelConfiguration.bindAsNotificationRuleTarget(), TopicBase.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 { aws_codestarnotifications as codestarnotifications } from 'aws-cdk-lib';
const notificationRuleTargetConfig: codestarnotifications.NotificationRuleTargetConfig = {
  targetAddress: 'targetAddress',
  targetType: 'targetType',
};

Properties

NameTypeDescription
targetAddressstringThe Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
targetTypestringThe 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.