| Modifier and Type | Interface and Description |
|---|---|
static interface |
ICfnConditionExpression.Jsii$Default
Internal default implementation for
ICfnConditionExpression. |
| 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
CfnRuleAssertion.getAssertValue() |
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
CfnConditionProps.getExpression() |
CfnCondition.Builder |
CfnCondition.Builder.expression(ICfnConditionExpression expression)
The expression that the condition will evaluate.
|
CfnRuleProps.Builder |
CfnRuleProps.Builder.ruleCondition(ICfnConditionExpression ruleCondition)
Sets the value of
CfnRuleProps.getRuleCondition() |
CfnRule.Builder |
CfnRule.Builder.ruleCondition(ICfnConditionExpression ruleCondition)
If the rule condition evaluates to false, the rule doesn't take effect.
|
void |
CfnCondition.setExpression(ICfnConditionExpression value)
The condition statement.
|
| Constructor and Description |
|---|
Jsii$Proxy(ICfnConditionExpression expression)
Constructor that initializes the object based on literal property values passed by the
CfnConditionProps.Builder. |
Jsii$Proxy(ICfnConditionExpression assertValue,
String assertDescription)
Constructor that initializes the object based on literal property values passed by the
CfnRuleAssertion.Builder. |
Jsii$Proxy(List<? extends CfnRuleAssertion> assertions,
ICfnConditionExpression ruleCondition)
Constructor that initializes the object based on literal property values passed by the
CfnRuleProps.Builder. |
Copyright © 2020. All rights reserved.