@Generated(value="jsii-pacmak/0.7.15 (build e429c41)", date="2019-03-07T22:14:39.117Z") public class EventRule extends software.amazon.awscdk.Construct implements IEventRule
software.amazon.jsii.JsiiObject.InitializationModeIEventRule.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
EventRule(software.amazon.awscdk.Construct scope,
String id) |
|
EventRule(software.amazon.awscdk.Construct scope,
String id,
EventRuleProps props) |
protected |
EventRule(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventPattern()
Adds an event pattern filter to this rule.
|
void |
addEventPattern(EventPattern eventPattern)
Adds an event pattern filter to this rule.
|
void |
addTarget()
Adds a target to the rule.
|
void |
addTarget(IEventRuleTarget target)
Adds a target to the rule.
|
void |
addTarget(IEventRuleTarget target,
TargetInputTemplate inputOptions)
Adds a target to the rule.
|
EventRuleImportProps |
export()
Exports this rule resource from this stack and returns an import token.
|
String |
getRuleArn()
The value of the event rule Amazon Resource Name (ARN), such as
arn:aws:events:us-east-2:123456789012:rule/example.
|
static IEventRule |
import_(software.amazon.awscdk.Construct scope,
String id,
EventRuleImportProps props)
Imports a rule by ARN into this stack.
|
protected List<String> |
validate()
Validate the current construct.
|
getDependencyRoots, getNode, isConstruct, prepare, toStringjsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected EventRule(software.amazon.jsii.JsiiObject.InitializationMode mode)
public EventRule(software.amazon.awscdk.Construct scope,
String id,
@Nullable
EventRuleProps props)
public EventRule(software.amazon.awscdk.Construct scope,
String id)
public static IEventRule import_(software.amazon.awscdk.Construct scope, String id, EventRuleImportProps props)
public void addEventPattern(@Nullable EventPattern eventPattern)
public void addEventPattern()
public void addTarget(@Nullable IEventRuleTarget target, @Nullable TargetInputTemplate inputOptions)
public void addTarget(@Nullable IEventRuleTarget target)
public void addTarget()
public EventRuleImportProps export()
export in interface IEventRuleprotected List<String> validate()
validate in class software.amazon.awscdk.Constructpublic String getRuleArn()
getRuleArn in interface IEventRuleCopyright © 2019. All rights reserved.