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.104.0 (build e79254c)",
date="2024-11-22T02:23:59.033Z")
@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() .createdBy("createdBy") .detailType(DetailType.BASIC) .enabled(false) .notificationRuleName("notificationRuleName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNotificationRuleOptions
static final class
An implementation forNotificationRuleOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name or email alias of the person who created the notification rule.default DetailType
The level of detail to include in the notifications for this resource.default Boolean
The status of the notification rule.default String
The name for the notification rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreatedBy
The name or email alias of the person who created the notification rule.If not specified, it means that the creator's alias is not provided.
Default: - No alias provided
-
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.Builder
ofNotificationRuleOptions
-