IRosConditionExpression
-
Extends: IResolvable
-
Implemented By: FnAnd, FnEquals, FnIf, FnNot, FnOr, RosCondition, IRosConditionExpression
Represents a RosTemplate element that can be used within a Condition.
You can use intrinsic functions, such as Fn.conditionIf
,
Fn.conditionEquals
, and Fn.conditionNot
, to conditionally create
stack resources. These conditions are evaluated based on input parameters
that you declare when you create or update a stack. After you define all your
conditions, you can associate them with resources or resource properties in
the Resources and Outputs sections of a template.
Properties
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
creationStack
Required
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.