Skip to content
v2.276.0

WebhookReference Struct ​

A reference to a Webhook resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

webhookNamestringwebhook_namestrwebhookNameStringWebhookNamestringWebhookName*stringrequired#
The Name of the Webhook resource.