@Stability(value=Stable)
public static interface CfnProject.ProjectTriggersProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
ProjectTriggersProperty projectTriggersProperty = ProjectTriggersProperty.builder()
.buildType("buildType")
.filterGroups(List.of(List.of(WebhookFilterProperty.builder()
.pattern("pattern")
.type("type")
// the properties below are optional
.excludeMatchedPattern(false)
.build())))
.webhook(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.ProjectTriggersProperty.Builder
A builder for
CfnProject.ProjectTriggersProperty |
static class |
CfnProject.ProjectTriggersProperty.Jsii$Proxy
An implementation for
CfnProject.ProjectTriggersProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.ProjectTriggersProperty.Builder |
builder() |
default String |
getBuildType()
Specifies the type of build this webhook will trigger.
|
default Object |
getFilterGroups()
A list of lists of `WebhookFilter` objects used to determine which webhook events are triggered.
|
default Object |
getWebhook()
Specifies whether or not to begin automatically rebuilding the source code every time a code change is pushed to the repository.
|
@Stability(value=Stable) @Nullable default String getBuildType()
@Stability(value=Stable) @Nullable default Object getFilterGroups()
At least one WebhookFilter in the array must specify EVENT as its type.
@Stability(value=Stable) @Nullable default Object getWebhook()
@Stability(value=Stable) static CfnProject.ProjectTriggersProperty.Builder builder()
Copyright © 2022. All rights reserved.