@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:44.508Z") @Stability(value=Experimental) public interface RepositoryNotifyOnOptions extends software.amazon.jsii.JsiiSerializable, NotificationRuleOptions
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.*;
import software.amazon.awscdk.services.codestarnotifications.*;
RepositoryNotifyOnOptions repositoryNotifyOnOptions = RepositoryNotifyOnOptions.builder()
.events(List.of(RepositoryNotificationEvents.COMMIT_COMMENT))
// the properties below are optional
.detailType(DetailType.BASIC)
.enabled(false)
.notificationRuleName("notificationRuleName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RepositoryNotifyOnOptions.Builder
A builder for
RepositoryNotifyOnOptions |
static class |
RepositoryNotifyOnOptions.Jsii$Proxy
An implementation for
RepositoryNotifyOnOptions |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryNotifyOnOptions.Builder |
builder() |
List<RepositoryNotificationEvents> |
getEvents()
(experimental) A list of event types associated with this notification rule for CodeCommit repositories.
|
getDetailType, getEnabled, getNotificationRuleName@Stability(value=Experimental) @NotNull List<RepositoryNotificationEvents> getEvents()
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
@Stability(value=Experimental) static RepositoryNotifyOnOptions.Builder builder()
builder in interface NotificationRuleOptionsRepositoryNotifyOnOptions.Builder of RepositoryNotifyOnOptionsCopyright © 2022. All rights reserved.