This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::AmplifyUIBuilder::Component Predicate
The Predicate property specifies information for generating Amplify DataStore queries. Use Predicate to retrieve a subset of the
data in a collection.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "And" :[ Predicate, ... ], "Field" :String, "Operand" :String, "OperandType" :String, "Operator" :String, "Or" :[ Predicate, ... ]}
YAML
And:- PredicateField:StringOperand:StringOperandType:StringOperator:StringOr:- Predicate
Properties
And-
A list of predicates to combine logically.
Required: No
Type: Array of Predicate
Update requires: No interruption
Field-
The field to query.
Required: No
Type: String
Update requires: No interruption
Operand-
The value to use when performing the evaluation.
Required: No
Type: String
Update requires: No interruption
OperandType-
The type of value to use when performing the evaluation.
Required: No
Type: String
Pattern:
^boolean|string|number$Update requires: No interruption
Operator-
The operator to use to perform the evaluation.
Required: No
Type: String
Update requires: No interruption
Or-
A list of predicates to combine logically.
Required: No
Type: Array of Predicate
Update requires: No interruption