@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.579Z") @Stability(value=Stable) public interface NotificationRuleOptions extends software.amazon.jsii.JsiiSerializable
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 Boolean |
getEnabled()
The status of the notification rule.
|
default String |
getNotificationRuleName()
The name for the notification rule.
|
@Stability(value=Stable) @Nullable 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
@Stability(value=Stable) @Nullable default Boolean getEnabled()
If the enabled is set to DISABLED, notifications aren't sent for the notification rule.
Default: true
@Stability(value=Stable) @Nullable default String getNotificationRuleName()
Notification rule names must be unique in your AWS account.
Default: - generated from the `id`
@Stability(value=Stable) static NotificationRuleOptions.Builder builder()
NotificationRuleOptions.Builder of NotificationRuleOptionsCopyright © 2022. All rights reserved.