aws-cdk-lib.aws_codestarnotifications.CfnNotificationRule.TargetProperty

interface TargetProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeStarNotifications.CfnNotificationRule.TargetProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodestarnotifications#CfnNotificationRule_TargetProperty
Javasoftware.amazon.awscdk.services.codestarnotifications.CfnNotificationRule.TargetProperty
Pythonaws_cdk.aws_codestarnotifications.CfnNotificationRule.TargetProperty
TypeScript 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

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