Interface NotificationRuleOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
NotificationRuleProps,PipelineNotifyOnOptions,ProjectNotifyOnOptions,RepositoryNotifyOnOptions
- All Known Implementing Classes:
NotificationRuleOptions.Jsii$Proxy,NotificationRuleProps.Jsii$Proxy,PipelineNotifyOnOptions.Jsii$Proxy,ProjectNotifyOnOptions.Jsii$Proxy,RepositoryNotifyOnOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.922Z")
@Stability(Stable)
public interface NotificationRuleOptions
extends software.amazon.jsii.JsiiSerializable
Standard set of options for
notifyOnXxx codestar notification handler on construct.
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.codestarnotifications.*;
NotificationRuleOptions notificationRuleOptions = NotificationRuleOptions.builder()
.detailType(DetailType.BASIC)
.enabled(false)
.notificationRuleName("notificationRuleName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNotificationRuleOptionsstatic final classAn implementation forNotificationRuleOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default DetailTypeThe level of detail to include in the notifications for this resource.default BooleanThe status of the notification rule.default StringThe name for the notification rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDetailType
The level of detail to include in the notifications for this resource.BASIC will include only the contents of the event as it would appear in AWS CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
Default: DetailType.FULL
-
getEnabled
The status of the notification rule.If the enabled is set to DISABLED, notifications aren't sent for the notification rule.
Default: true
-
getNotificationRuleName
The name for the notification rule.Notification rule names must be unique in your AWS account.
Default: - generated from the `id`
-
builder
- Returns:
- a
NotificationRuleOptions.BuilderofNotificationRuleOptions
-