@Generated(value="jsii-pacmak/0.20.4 (build 96d89e1)", date="2019-11-12T11:54:39.743Z") @Stability(value=Stable) public class CfnRule extends CfnRefElement
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnRule.Builder
A fluent builder for
CfnRule. |
| 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, overrideLogicalIdgetNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected 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.