@Generated(value="jsii-pacmak/1.1.0 (build df55f5e)", date="2020-04-10T14:28:19.284Z") @Stability(value=Stable) 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()
A description of the rule's purpose.
|
default Boolean |
getEnabled()
Indicates whether the rule is enabled.
|
default IEventBus |
getEventBus()
The event bus to associate with this rule.
|
default EventPattern |
getEventPattern()
Describes which events CloudWatch Events routes to the specified target.
|
default String |
getRuleName()
A name for the rule.
|
default Schedule |
getSchedule()
The schedule or rate (frequency) that determines when CloudWatch Events runs the rule.
|
default List<IRuleTarget> |
getTargets()
Targets to invoke when this rule matches an event.
|
@Stability(value=Stable) @Nullable default String getDescription()
Default: - No description.
@Stability(value=Stable) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Stable) @Nullable default IEventBus getEventBus()
Default: - The default event bus.
@Stability(value=Stable) @Nullable default EventPattern getEventPattern()
These routed events are matched events. For more information, see Events and Event Patterns in the Amazon CloudWatch 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=Stable) @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=Stable) @Nullable default Schedule getSchedule()
For more information, see Schedule Expression Syntax for Rules in the Amazon CloudWatch User Guide.
Default: - None.
You must specify this property, the `eventPattern` property, or both.@Stability(value=Stable) @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=Stable) static RuleProps.Builder builder()
RuleProps.Builder of RulePropsCopyright © 2020. All rights reserved.