This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::AmplifyUIBuilder::Component ComponentConditionProperty
The ComponentConditionProperty property specifies a conditional expression
for setting a component property. Use ComponentConditionProperty to set a
property to different values conditionally, based on the value of another property.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Else" :ComponentProperty, "Field" :String, "Operand" :String, "OperandType" :String, "Operator" :String, "Property" :String, "Then" :ComponentProperty}
YAML
Else:ComponentPropertyField:StringOperand:StringOperandType:StringOperator:StringProperty:StringThen:ComponentProperty
Properties
Else-
The value to assign to the property if the condition is not met.
Required: No
Type: ComponentProperty
Update requires: No interruption
Field-
The name of a field. Specify this when the property is a data model.
Required: No
Type: String
Update requires: No interruption
Operand-
The value of the property to evaluate.
Required: No
Type: String
Update requires: No interruption
OperandType-
The type of the property to evaluate.
Required: No
Type: String
Update requires: No interruption
Operator-
The operator to use to perform the evaluation, such as
eqto represent equals.Required: No
Type: String
Update requires: No interruption
Property-
The name of the conditional property.
Required: No
Type: String
Update requires: No interruption
Then-
The value to assign to the property if the condition is met.
Required: No
Type: ComponentProperty
Update requires: No interruption