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, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getDescription()
RulePropsDefault: - No description.
getDescription in interface RulePropspublic Boolean getEnabled()
RulePropsDefault: true
getEnabled in interface RulePropspublic IEventBus getEventBus()
RulePropsDefault: - The default event bus.
getEventBus in interface RulePropspublic EventPattern getEventPattern()
RulePropsThese routed events are matched events. For more information, see Events and Event Patterns in the Amazon CloudWatch User Guide.
Default: - None.
getEventPattern 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()
RulePropsDefault: - AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see Name Type.
getRuleName 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()
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 RulePropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.