Interface RepositoryNotifyOnOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,NotificationRuleOptions
- All Known Implementing Classes:
RepositoryNotifyOnOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.263Z")
@Stability(Stable)
public interface RepositoryNotifyOnOptions
extends software.amazon.jsii.JsiiSerializable, NotificationRuleOptions
Additional options to pass to the notification rule.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRepositoryNotifyOnOptions
static final class
An implementation forRepositoryNotifyOnOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of event types associated with this notification rule for CodeCommit repositories.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.codestarnotifications.NotificationRuleOptions
getDetailType, getEnabled, getNotificationRuleName
-
Method Details
-
getEvents
A list of event types associated with this notification rule for CodeCommit repositories.For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
- See Also:
-
builder
- Returns:
- a
RepositoryNotifyOnOptions.Builder
ofRepositoryNotifyOnOptions
-