aws-cdk-lib.aws_codestarnotifications.NotificationRuleSourceConfig

interface NotificationRuleSourceConfig

LanguageType name
.NETAmazon.CDK.AWS.CodeStarNotifications.NotificationRuleSourceConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodestarnotifications#NotificationRuleSourceConfig
Javasoftware.amazon.awscdk.services.codestarnotifications.NotificationRuleSourceConfig
Pythonaws_cdk.aws_codestarnotifications.NotificationRuleSourceConfig
TypeScript (source)aws-cdk-lib » 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 { aws_codestarnotifications as codestarnotifications } from 'aws-cdk-lib';
const notificationRuleSourceConfig: codestarnotifications.NotificationRuleSourceConfig = {
  sourceArn: 'sourceArn',
};

Properties

NameTypeDescription
sourceArnstringThe Amazon Resource Name (ARN) of the notification source.

sourceArn

Type: string

The Amazon Resource Name (ARN) of the notification source.