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.
|
protected |
Jsii$Proxy(String description,
Boolean enabled,
IEventBus eventBus,
EventPattern eventPattern,
String ruleName,
Schedule schedule,
List<? extends IRuleTarget> targets)
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) |
String |
getDescription()
(experimental) A description of the rule's purpose.
|
Boolean |
getEnabled()
(experimental) Indicates whether the rule is enabled.
|
IEventBus |
getEventBus()
(experimental) The event bus to associate with this rule.
|
EventPattern |
getEventPattern()
(experimental) Describes which events EventBridge routes to the specified target.
|
String |
getRuleName()
(experimental) A name for the rule.
|
Schedule |
getSchedule()
(experimental) The schedule or rate (frequency) that determines when EventBridge runs the rule.
|
List<IRuleTarget> |
getTargets()
(experimental) 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(String description, Boolean enabled, IEventBus eventBus, EventPattern eventPattern, String ruleName, Schedule schedule, List<? extends IRuleTarget> targets)
RuleProps.Builder.public final String getDescription()
RulePropsDefault: - No description.
getDescription in interface RulePropspublic final Boolean getEnabled()
RulePropsDefault: true
getEnabled in interface RulePropspublic final IEventBus getEventBus()
RulePropsDefault: - The default event bus.
getEventBus in interface RulePropspublic final EventPattern getEventPattern()
RulePropsThese routed events are matched events. For more information, see Events and Event Patterns in the Amazon EventBridge 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 final 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 final Schedule getSchedule()
RulePropsFor more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide.
Default: - None.
getSchedule in interface RulePropsYou must specify this property, the `eventPattern` property, or both.public 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 RuleProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.