@Generated(value="jsii-pacmak/0.14.3 (build 1b1062d)", date="2019-08-14T08:10:20.273Z") @Stability(value=Stable) public class CfnRule extends CfnRefElement
| Modifier | Constructor and Description |
|---|---|
|
CfnRule(Construct scope,
String id)
Creates and adds a rule.
|
|
CfnRule(Construct scope,
String id,
CfnRuleProps props)
Creates and adds a rule.
|
protected |
CfnRule(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssertion(ICfnConditionExpression condition,
String description)
Adds an assertion to the rule.
|
getRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, preparegetNode, isConstruct, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected CfnRule(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Stability(value=Stable) public CfnRule(Construct scope, String id, @Nullable CfnRuleProps props)
scope - The parent construct.props - The rule props.@Stability(value=Stable) public void addAssertion(ICfnConditionExpression condition, String description)
condition - The expression to evaluation.description - The description of the assertion.Copyright © 2019. All rights reserved.