software.amazon.jsii.JsiiObject.InitializationModeRuleProps.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(Object o) |
String |
getDescription()
A description of the rule's purpose.
|
Boolean |
getEnabled()
Indicates whether the rule is enabled.
|
IEventBus |
getEventBus()
The event bus to associate with this rule.
|
EventPattern |
getEventPattern()
Describes which events CloudWatch Events routes to the specified target.
|
String |
getRuleName()
A name for the rule.
|
Schedule |
getSchedule()
The schedule or rate (frequency) that determines when CloudWatch Events runs the rule.
|
List<IRuleTarget> |
getTargets()
Targets to invoke when this rule matches an event.
|
int |
hashCode() |
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getDescription()
RulePropsgetDescription in interface RulePropspublic Boolean getEnabled()
RulePropsgetEnabled in interface RulePropspublic IEventBus getEventBus()
RulePropsgetEventBus in interface RulePropspublic EventPattern getEventPattern()
RulePropsgetEventPattern in interface RulePropsYou must specify this property (either via props or via
`addEventPattern`), the `scheduleExpression` property, or both. The
method `addEventPattern` can be used to add filter values to the event
pattern.public String getRuleName()
RulePropsgetRuleName in interface RulePropspublic Schedule getSchedule()
RulePropsFor more information, see Schedule Expression Syntax for Rules in the Amazon CloudWatch User Guide.
Default: - None.getSchedule in interface RulePropsYou must specify this property, the `eventPattern` property, or both.public List<IRuleTarget> getTargets()
RulePropsInput will be the full matched event. If you wish to specify custom
target input, use addTarget(target[, inputOptions]).
getTargets in interface RulePropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2019. All rights reserved.