public static final class NotificationRuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NotificationRuleProps
NotificationRuleProps
NotificationRuleProps.Builder, NotificationRuleProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
DetailType |
getDetailType()
The level of detail to include in the notifications for this resource.
|
java.lang.Boolean |
getEnabled()
The status of the notification rule.
|
java.util.List<java.lang.String> |
getEvents()
A list of event types associated with this notification rule.
|
java.lang.String |
getNotificationRuleName()
The name for the notification rule.
|
INotificationRuleSource |
getSource()
The Amazon Resource Name (ARN) of the resource to associate with the notification rule.
|
java.util.List<INotificationRuleTarget> |
getTargets()
The targets to register for the notification destination.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<java.lang.String> getEvents()
NotificationRuleProps
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
getEvents
in interface NotificationRuleProps
public final INotificationRuleSource getSource()
NotificationRuleProps
Currently, Supported sources include pipelines in AWS CodePipeline, build projects in AWS CodeBuild, and repositories in AWS CodeCommit in this L2 constructor.
public final java.util.List<INotificationRuleTarget> getTargets()
NotificationRuleProps
Default: - No targets are added to the rule. Use `addTarget()` to add a target.
getTargets
in interface NotificationRuleProps
public final DetailType getDetailType()
NotificationRuleOptions
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
getDetailType
in interface NotificationRuleOptions
public final java.lang.Boolean getEnabled()
NotificationRuleOptions
If the enabled is set to DISABLED, notifications aren't sent for the notification rule.
Default: true
getEnabled
in interface NotificationRuleOptions
public final java.lang.String getNotificationRuleName()
NotificationRuleOptions
Notification rule names must be unique in your AWS account.
Default: - generated from the `id`
getNotificationRuleName
in interface NotificationRuleOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()