Interface CfnRepository.RepositoryTriggerProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRepository.RepositoryTriggerProperty.Jsii$Proxy
Enclosing class:
CfnRepository

@Stability(Stable) public static interface CfnRepository.RepositoryTriggerProperty extends software.amazon.jsii.JsiiSerializable
Information about a trigger for a repository.

If you want to receive notifications about repository events, consider using notifications instead of triggers. For more information, see Configuring notifications for repository events .

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.*;
 RepositoryTriggerProperty repositoryTriggerProperty = RepositoryTriggerProperty.builder()
         .destinationArn("destinationArn")
         .events(List.of("events"))
         .name("name")
         // the properties below are optional
         .branches(List.of("branches"))
         .customData("customData")
         .build();
 

See Also: