interface TargetProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeStarNotifications.Mixins.CfnNotificationRulePropsMixin.TargetProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodestarnotifications/mixins#CfnNotificationRulePropsMixin_TargetProperty |
Java | software.amazon.awscdk.mixins.preview.services.codestarnotifications.mixins.CfnNotificationRulePropsMixin.TargetProperty |
Python | aws_cdk.mixins_preview.aws_codestarnotifications.mixins.CfnNotificationRulePropsMixin.TargetProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codestarnotifications » mixins » 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 { mixins as codestarnotifications_mixins } from '@aws-cdk/mixins-preview/aws-codestarnotifications';
const targetProperty: codestarnotifications_mixins.CfnNotificationRulePropsMixin.TargetProperty = {
targetAddress: 'targetAddress',
targetType: 'targetType',
};
Properties
| Name | Type | Description |
|---|---|---|
| target | string | 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
(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