Skip to content
v2.277.0

NotificationRuleSourceConfig Struct ​

Information about the Codebuild or CodePipeline associated with a notification source.

Example ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codestarnotifications as codestarnotifications

notification_rule_source_config = codestarnotifications.NotificationRuleSourceConfig(
    source_arn="sourceArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codestarnotifications.*;

NotificationRuleSourceConfig notificationRuleSourceConfig = NotificationRuleSourceConfig.builder()
        .sourceArn("sourceArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeStarNotifications;

var notificationRuleSourceConfig = new NotificationRuleSourceConfig {
    SourceArn = "sourceArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

notificationRuleSourceConfig := &NotificationRuleSourceConfig{
	SourceArn: jsii.String("sourceArn"),
}

Properties ​

sourceArnstringsource_arnstrsourceArnStringSourceArnstringSourceArn*string required #
The Amazon Resource Name (ARN) of the notification source.