@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:31.964Z")
public interface 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.codestarnotifications.*; NotificationRuleOptions notificationRuleOptions = NotificationRuleOptions.builder() .detailType(DetailType.BASIC) .enabled(false) .notificationRuleName("notificationRuleName") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
NotificationRuleOptions.Builder
A builder for
NotificationRuleOptions |
static class |
NotificationRuleOptions.Jsii$Proxy
An implementation for
NotificationRuleOptions |
Modifier and Type | Method and Description |
---|---|
static NotificationRuleOptions.Builder |
builder() |
default DetailType |
getDetailType()
The level of detail to include in the notifications for this resource.
|
default java.lang.Boolean |
getEnabled()
The status of the notification rule.
|
default java.lang.String |
getNotificationRuleName()
The name for the notification rule.
|
default DetailType getDetailType()
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
default java.lang.Boolean getEnabled()
If the enabled is set to DISABLED, notifications aren't sent for the notification rule.
Default: true
default java.lang.String getNotificationRuleName()
Notification rule names must be unique in your AWS account.
Default: - generated from the `id`
static NotificationRuleOptions.Builder builder()
NotificationRuleOptions.Builder
of NotificationRuleOptions