@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.232Z") @Stability(value=Experimental) public interface RuleProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
RuleProps.Builder
A builder for
RuleProps |
static class |
RuleProps.Jsii$Proxy
An implementation for
RuleProps |
| Modifier and Type | Method and Description |
|---|---|
static RuleProps.Builder |
builder() |
default String |
getDescription()
(experimental) A description of the rule's purpose.
|
default Boolean |
getEnabled()
(experimental) Indicates whether the rule is enabled.
|
default IEventBus |
getEventBus()
(experimental) The event bus to associate with this rule.
|
default EventPattern |
getEventPattern()
(experimental) Describes which events EventBridge routes to the specified target.
|
default String |
getRuleName()
(experimental) A name for the rule.
|
default Schedule |
getSchedule()
(experimental) The schedule or rate (frequency) that determines when EventBridge runs the rule.
|
default List<IRuleTarget> |
getTargets()
(experimental) Targets to invoke when this rule matches an event.
|
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - No description.
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Experimental) @Nullable default IEventBus getEventBus()
Default: - The default event bus.
@Stability(value=Experimental) @Nullable default EventPattern getEventPattern()
These routed events are matched events. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.
Default: - None.
You 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.@Stability(value=Experimental) @Nullable default String getRuleName()
Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see Name Type.
@Stability(value=Experimental) @Nullable default Schedule getSchedule()
For more information, see Schedule Expression Syntax for Rules in the Amazon EventBridge User Guide.
Default: - None.
You must specify this property, the `eventPattern` property, or both.@Stability(value=Experimental) @Nullable default List<IRuleTarget> getTargets()
Input will be the full matched event. If you wish to specify custom
target input, use addTarget(target[, inputOptions]).
Default: - No targets.
@Stability(value=Experimental) static RuleProps.Builder builder()
RuleProps.Builder of RulePropsCopyright © 2021. All rights reserved.