| Modifier and Type | Class and Description |
|---|---|
class |
CfnCondition
Represents a CloudFormation condition, for resources which must be conditionally created and the determination must be made at deploy time.
|
static class |
ICfnConditionExpression.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static ICfnConditionExpression |
Fn.conditionAnd(ICfnConditionExpression... conditions)
Returns true if all the specified conditions evaluate to true, or returns false if any one of the conditions evaluates to false.
|
static ICfnConditionExpression |
Fn.conditionContains(List<String> listOfStrings,
String value)
Returns true if a specified string matches at least one value in a list of strings.
|
static ICfnConditionExpression |
Fn.conditionEachMemberEquals(List<String> listOfStrings,
String value)
Returns true if a specified string matches all values in a list.
|
static ICfnConditionExpression |
Fn.conditionEachMemberIn(List<String> stringsToCheck,
List<String> stringsToMatch)
Returns true if each member in a list of strings matches at least one value in a second list of strings.
|
static ICfnConditionExpression |
Fn.conditionEquals(Object lhs,
Object rhs)
Compares if two values are equal.
|
static ICfnConditionExpression |
Fn.conditionIf(String conditionId,
Object valueIfTrue,
Object valueIfFalse)
Returns one value if the specified condition evaluates to true and another value if the specified condition evaluates to false.
|
static ICfnConditionExpression |
Fn.conditionNot(ICfnConditionExpression condition)
Returns true for a condition that evaluates to false or returns false for a condition that evaluates to true.
|
static ICfnConditionExpression |
Fn.conditionOr(ICfnConditionExpression... conditions)
Returns true if any one of the specified conditions evaluate to true, or returns false if all of the conditions evaluates to false.
|
ICfnConditionExpression |
CfnRuleAssertion.getAssertValue()
The assertion.
|
ICfnConditionExpression |
CfnRuleAssertion.Jsii$Proxy.getAssertValue() |
default ICfnConditionExpression |
CfnConditionProps.getExpression()
The expression that the condition will evaluate.
|
ICfnConditionExpression |
CfnConditionProps.Jsii$Proxy.getExpression() |
ICfnConditionExpression |
CfnCondition.getExpression()
The condition statement.
|
default ICfnConditionExpression |
CfnRuleProps.getRuleCondition()
If the rule condition evaluates to false, the rule doesn't take effect.
|
ICfnConditionExpression |
CfnRuleProps.Jsii$Proxy.getRuleCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
CfnRule.addAssertion(ICfnConditionExpression condition,
String description)
Adds an assertion to the rule.
|
CfnRuleAssertion.Builder |
CfnRuleAssertion.Builder.assertValue(ICfnConditionExpression assertValue)
Sets the value of AssertValue
|
static ICfnConditionExpression |
Fn.conditionAnd(ICfnConditionExpression... conditions)
Returns true if all the specified conditions evaluate to true, or returns false if any one of the conditions evaluates to false.
|
static ICfnConditionExpression |
Fn.conditionNot(ICfnConditionExpression condition)
Returns true for a condition that evaluates to false or returns false for a condition that evaluates to true.
|
static ICfnConditionExpression |
Fn.conditionOr(ICfnConditionExpression... conditions)
Returns true if any one of the specified conditions evaluate to true, or returns false if all of the conditions evaluates to false.
|
CfnConditionProps.Builder |
CfnConditionProps.Builder.expression(ICfnConditionExpression expression)
Sets the value of Expression
|
CfnCondition.Builder |
CfnCondition.Builder.expression(ICfnConditionExpression expression) |
CfnRule.Builder |
CfnRule.Builder.ruleCondition(ICfnConditionExpression ruleCondition) |
CfnRuleProps.Builder |
CfnRuleProps.Builder.ruleCondition(ICfnConditionExpression ruleCondition)
Sets the value of RuleCondition
|
void |
CfnCondition.setExpression(ICfnConditionExpression value)
The condition statement.
|
Copyright © 2019. All rights reserved.