interface TargetProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CodeStarNotifications.CfnNotificationRulePropsMixin.TargetProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscodestarnotifications#CfnNotificationRulePropsMixin_TargetProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.codestarnotifications.CfnNotificationRulePropsMixin.TargetProperty |
Python | aws_cdk.cfn_property_mixins.aws_codestarnotifications.CfnNotificationRulePropsMixin.TargetProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_codestarnotifications » CfnNotificationRulePropsMixin » TargetProperty |
Information about the topics or 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/cfn-property-mixins';
const targetProperty: codestarnotifications.CfnNotificationRulePropsMixin.TargetProperty = {
targetAddress: 'targetAddress',
targetType: 'targetType',
};
Properties
| Name | Type | Description |
|---|---|---|
| target | string | ITopic | The Amazon Resource Name (ARN) of the topic or client. |
| target | string | The target type. Can be an Amazon Simple Notification Service topic or client. |
targetAddress?
Type:
string | ITopic
(optional)
The Amazon Resource Name (ARN) of the topic or client.
targetType?
Type:
string
(optional)
The target type. Can be an Amazon Simple Notification Service topic or client.
- Amazon Simple Notification Service topics are specified as
SNS. - clients are specified as
AWSChatbotSlack. - clients for Microsoft Teams are specified as
AWSChatbotMicrosoftTeams.

.NET
Go
Java
Python
TypeScript