RuleProps.Builder, RuleProps.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) |
java.lang.String |
getDescription()
A description of the rule's purpose.
|
java.lang.Boolean |
getEnabled()
Indicates whether the rule is enabled.
|
IEventBus |
getEventBus()
The event bus to associate with this rule.
|
EventPattern |
getEventPattern()
Describes which events EventBridge routes to the specified target.
|
java.lang.String |
getRuleName()
A name for the rule.
|
Schedule |
getSchedule()
The schedule or rate (frequency) that determines when EventBridge runs the rule.
|
java.util.List<IRuleTarget> |
getTargets()
Targets to invoke when this rule matches an event.
|
int |
hashCode() |
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getDescription()
RuleProps
Default: - No description.
getDescription
in interface RuleProps
public final java.lang.Boolean getEnabled()
RuleProps
Default: true
getEnabled
in interface RuleProps
public final IEventBus getEventBus()
RuleProps
Default: - The default event bus.
getEventBus
in interface RuleProps
public final EventPattern getEventPattern()
RuleProps
These routed events are matched events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Default: - None.
getEventPattern
in interface RuleProps
public final java.lang.String getRuleName()
RuleProps
Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see Name Type.
getRuleName
in interface RuleProps
public final Schedule getSchedule()
RuleProps
For more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide.
Default: - None.
public final java.util.List<IRuleTarget> getTargets()
RuleProps
Input will be the full matched event. If you wish to specify custom
target input, use addTarget(target[, inputOptions])
.
Default: - No targets.
getTargets
in interface RuleProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()