# WebhookReference

A reference to a Webhook resource.

- Source: Generated at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as interfaces_codepipeline } from 'aws-cdk-lib/interfaces';
const webhookReference: interfaces_codepipeline.WebhookReference = {
  webhookName: 'webhookName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codepipeline as interfaces_codepipeline

webhook_reference = interfaces_codepipeline.WebhookReference(
    webhook_name="webhookName"
)
```

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.interfaces.codepipeline.*;

WebhookReference webhookReference = WebhookReference.builder()
        .webhookName("webhookName")
        .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.Interfaces.CodePipeline;

var webhookReference = new WebhookReference {
    WebhookName = "webhookName"
};
```

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"

webhookReference := &WebhookReference{
	WebhookName: jsii.String("webhookName"),
}
```

## Properties

- `webhookName`: string (required) — The Name of the Webhook resource.
