@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:26.487Z") @Stability(value=Experimental) 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()
(experimental) The names of the branches in the AWS CodeCommit repository that contain events that you want to include in the trigger.
|
default String |
getCustomData()
(experimental) When an event is triggered, additional information that AWS CodeCommit includes when it sends information to the target.
|
default List<RepositoryEventTrigger> |
getEvents()
(experimental) 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()
(experimental) A name for the trigger.Triggers on a repository must have unique names.
|
@Stability(value=Experimental) @Nullable default List<String> getBranches()
If you don't specify at least one branch, the trigger applies to all branches.
@Stability(value=Experimental) @Nullable default String getCustomData()
@Stability(value=Experimental) @Nullable default List<RepositoryEventTrigger> getEvents()
@Stability(value=Experimental) @Nullable default String getName()
@Stability(value=Experimental) static RepositoryTriggerOptions.Builder builder()
RepositoryTriggerOptions.Builder of RepositoryTriggerOptionsCopyright © 2022. All rights reserved.