@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:42.435Z") @Stability(value=Experimental) public interface CfnRuleProps extends software.amazon.jsii.JsiiSerializable
For each rule, you can define only one rule condition; you can define one or more asserts within the Assertions property. You define a rule condition and assertions by using rule-specific intrinsic functions.
You can use the following rule-specific intrinsic functions to define rule conditions and assertions:
Fn::And Fn::Contains Fn::EachMemberEquals Fn::EachMemberIn Fn::Equals Fn::If Fn::Not Fn::Or Fn::RefAll Fn::ValueOf Fn::ValueOfAll
https://docs.aws.amazon.com/servicecatalog/latest/adminguide/reference-template_constraint_rules.html
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRuleProps.Builder
A builder for
CfnRuleProps |
static class |
CfnRuleProps.Jsii$Proxy
An implementation for
CfnRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRuleProps.Builder |
builder() |
default List<CfnRuleAssertion> |
getAssertions()
(experimental) Assertions which define the rule.
|
default ICfnConditionExpression |
getRuleCondition()
(experimental) If the rule condition evaluates to false, the rule doesn't take effect.
|
@Stability(value=Experimental) @Nullable default List<CfnRuleAssertion> getAssertions()
Default: - No assertions for the rule.
@Stability(value=Experimental) @Nullable default ICfnConditionExpression getRuleCondition()
If the function in the rule condition evaluates to true, expressions in each assert are evaluated and applied.
Default: - Rule's assertions will always take effect.
@Stability(value=Experimental) static CfnRuleProps.Builder builder()
CfnRuleProps.Builder of CfnRulePropsCopyright © 2021. All rights reserved.