@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.380Z") @Stability(value=Stable) public interface RepositoryTriggerOptions 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.codecommit.*;
RepositoryTriggerOptions repositoryTriggerOptions = RepositoryTriggerOptions.builder()
.branches(List.of("branches"))
.customData("customData")
.events(List.of(RepositoryEventTrigger.ALL))
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RepositoryTriggerOptions.Builder
A builder for
RepositoryTriggerOptions |
static class |
RepositoryTriggerOptions.Jsii$Proxy
An implementation for
RepositoryTriggerOptions |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryTriggerOptions.Builder |
builder() |
default List<String> |
getBranches()
The names of the branches in the AWS CodeCommit repository that contain events that you want to include in the trigger.
|
default String |
getCustomData()
When an event is triggered, additional information that AWS CodeCommit includes when it sends information to the target.
|
default List<RepositoryEventTrigger> |
getEvents()
The repository events for which AWS CodeCommit sends information to the target, which you specified in the DestinationArn property.If you don't specify events, the trigger runs for all repository events.
|
default String |
getName()
A name for the trigger.Triggers on a repository must have unique names.
|
@Stability(value=Stable) @Nullable default List<String> getBranches()
If you don't specify at least one branch, the trigger applies to all branches.
@Stability(value=Stable) @Nullable default String getCustomData()
@Stability(value=Stable) @Nullable default List<RepositoryEventTrigger> getEvents()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) static RepositoryTriggerOptions.Builder builder()
RepositoryTriggerOptions.Builder of RepositoryTriggerOptionsCopyright © 2022. All rights reserved.