# NotificationRuleSourceConfig

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

- Source: [`aws-codestarnotifications/lib/notification-rule-source.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-codestarnotifications/lib/notification-rule-source.ts#L6)

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `sourceArn`: string (required) — The Amazon Resource Name (ARN) of the notification source.
