@Generated(value="jsii-pacmak/0.7.6 (build 04cb6bb)", date="2018-09-20T13:04:04.142Z") public interface EventRuleProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
EventRuleProps.Builder
A builder for
EventRuleProps |
static class |
EventRuleProps.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static EventRuleProps.Builder |
builder() |
String |
getDescription()
A description of the rule's purpose.
|
Boolean |
getEnabled()
Indicates whether the rule is enabled.
|
EventPattern |
getEventPattern()
Describes which events CloudWatch Events routes to the specified target.
|
String |
getRuleName()
A name for the rule.
|
String |
getScheduleExpression()
The schedule or rate (frequency) that determines when CloudWatch Events
runs the rule.
|
List<IEventRuleTarget> |
getTargets()
Targets to invoke when this rule matches an event.
|
void |
setDescription(String value)
A description of the rule's purpose.
|
void |
setEnabled(Boolean value)
Indicates whether the rule is enabled.
|
void |
setEventPattern(EventPattern value)
Describes which events CloudWatch Events routes to the specified target.
|
void |
setRuleName(String value)
A name for the rule.
|
void |
setScheduleExpression(String value)
The schedule or rate (frequency) that determines when CloudWatch Events
runs the rule.
|
void |
setTargets(List<IEventRuleTarget> value)
Targets to invoke when this rule matches an event.
|
String getDescription()
void setDescription(String value)
Boolean getEnabled()
void setEnabled(Boolean value)
EventPattern getEventPattern()
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.void setEventPattern(EventPattern value)
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.String getRuleName()
void setRuleName(String value)
String getScheduleExpression()
You must specify this property, the `eventPattern` property, or both.void setScheduleExpression(String value)
You must specify this property, the `eventPattern` property, or both.List<IEventRuleTarget> getTargets()
void setTargets(List<IEventRuleTarget> value)
static EventRuleProps.Builder builder()
EventRuleProps.Builder of EventRulePropsCopyright © 2018. All rights reserved.