interface NotificationRuleSourceConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeStarNotifications.NotificationRuleSourceConfig |
Java | software.amazon.awscdk.services.codestarnotifications.NotificationRuleSourceConfig |
Python | aws_cdk.aws_codestarnotifications.NotificationRuleSourceConfig |
TypeScript (source) | @aws-cdk/aws-codestarnotifications » NotificationRuleSourceConfig |
Obtainable from
Project
.bindAsNotificationRuleSource()
, Repository
.bindAsNotificationRuleSource()
, Pipeline
.bindAsNotificationRuleSource()
Information about the Codebuild or CodePipeline associated with a notification source.
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 notificationRuleSourceConfig: codestarnotifications.NotificationRuleSourceConfig = {
sourceArn: 'sourceArn',
};
Properties
Name | Type | Description |
---|---|---|
source | string | The Amazon Resource Name (ARN) of the notification source. |
sourceArn
Type:
string
The Amazon Resource Name (ARN) of the notification source.