@Stability(value=Stable) @Internal public static final class RuleProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RuleProps
RulePropssoftware.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.
|
protected |
Jsii$Proxy(RuleProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
RuleProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
software.constructs.Construct |
getCrossStackScope()
The scope to use if the source of the rule and its target are in different Stacks (but in the same account & region).
|
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()
Additional restrictions for the event to route to the specified target.
|
String |
getRuleName()
A name for the rule.
|
Schedule |
getSchedule()
The schedule or rate (frequency) that determines when EventBridge 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, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(RuleProps.Builder builder)
RuleProps.Builder.public final Boolean getEnabled()
RulePropsDefault: true
getEnabled in interface RulePropspublic final IEventBus getEventBus()
RulePropsDefault: - The default event bus.
getEventBus in interface RulePropspublic final Schedule getSchedule()
RuleProps
You must specify this property, the eventPattern property, or both.
For more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide.
Default: - None.
getSchedule in interface RulePropspublic final 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 final software.constructs.Construct getCrossStackScope()
EventCommonOptionsThis helps dealing with cycles that often arise in these situations.
Default: - none (the main scope will be used, even for cross-stack Events)
getCrossStackScope in interface EventCommonOptionspublic final String getDescription()
EventCommonOptionsDefault: - No description
getDescription in interface EventCommonOptionspublic final EventPattern getEventPattern()
EventCommonOptionsThe method that generates the rule probably imposes some type of event filtering. The filtering implied by what you pass here is added on top of that filtering.
Default: - No additional filtering based on an event pattern.
getEventPattern in interface EventCommonOptionspublic final String getRuleName()
EventCommonOptionsDefault: AWS CloudFormation generates a unique physical ID.
getRuleName in interface EventCommonOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.