@Generated(value="jsii-pacmak/0.17.1 (build f4a0dbe)", date="2019-10-02T18:14:53.797Z") @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 initializationMode) |
protected |
CfnRule(software.amazon.jsii.JsiiObjectRef objRef) |
| 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, jsiiStaticSet, setObjRefprotected CfnRule(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnRule(Construct scope, String id, CfnRuleProps props)
scope - The parent construct. This parameter is required.id - This parameter is required.props - The rule props.@Stability(value=Stable) public void addAssertion(ICfnConditionExpression condition, String description)
condition - The expression to evaluation. This parameter is required.description - The description of the assertion. This parameter is required.Copyright © 2019. All rights reserved.