@Generated(value="jsii-pacmak/0.11.2 (build 27d16c2)", date="2019-06-10T11:04:14.230Z") @Stability(value=Experimental) public class Rule extends software.amazon.awscdk.Resource implements IRule
software.amazon.jsii.JsiiObject.InitializationModeIRule.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Rule(software.amazon.awscdk.Construct scope,
String id)
EXPERIMENTAL
|
|
Rule(software.amazon.awscdk.Construct scope,
String id,
RuleProps props)
EXPERIMENTAL
|
protected |
Rule(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(IRuleTarget target)
Adds a target to the rule.
|
static IRule |
fromEventRuleArn(software.amazon.awscdk.Construct scope,
String id,
String eventRuleArn)
EXPERIMENTAL
|
String |
getRuleArn()
The value of the event rule Amazon Resource Name (ARN), such as arn:aws:events:us-east-2:123456789012:rule/example.
|
protected List<String> |
validate()
Validate the current construct.
|
getNode, isConstruct, prepare, synthesize, toStringjsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Rule(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Stability(value=Experimental)
public Rule(software.amazon.awscdk.Construct scope,
String id,
@Nullable
RuleProps props)
@Stability(value=Experimental)
public Rule(software.amazon.awscdk.Construct scope,
String id)
@Stability(value=Experimental) public static IRule fromEventRuleArn(software.amazon.awscdk.Construct scope, String id, String eventRuleArn)
@Stability(value=Experimental) public void addEventPattern(@Nullable EventPattern eventPattern)
@Stability(value=Experimental) public void addEventPattern()
@Stability(value=Experimental) public void addTarget(@Nullable IRuleTarget target)
@Stability(value=Experimental) public void addTarget()
@Stability(value=Experimental) protected List<String> validate()
validate in class software.amazon.awscdk.Construct@Stability(value=Experimental) public String getRuleArn()
getRuleArn in interface IRuleCopyright © 2019. All rights reserved.