AWS::AmplifyUIBuilder::Component Predicate - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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: - Predicate Field: String Operand: String OperandType: String Operator: String Or: - 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