Show / Hide Table of Contents

Interface CfnComponent.IPredicateProperty

The Predicate property specifies information for generating Amplify DataStore queries.

Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public interface IPredicateProperty
Syntax (vb)
Public Interface IPredicateProperty
Remarks

Use Predicate to retrieve a subset of the data in a collection.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;

PredicateProperty predicateProperty_;

var predicateProperty = new PredicateProperty {
    And = new [] { new PredicateProperty {
        And = new [] { predicateProperty_ },
        Field = "field",
        Operand = "operand",
        Operator = "operator",
        Or = new [] { predicateProperty_ }
    } },
    Field = "field",
    Operand = "operand",
    Operator = "operator",
    Or = new [] { new PredicateProperty {
        And = new [] { predicateProperty_ },
        Field = "field",
        Operand = "operand",
        Operator = "operator",
        Or = new [] { predicateProperty_ }
    } }
};

Synopsis

Properties

And

A list of predicates to combine logically.

Field

The field to query.

Operand

The value to use when performing the evaluation.

Operator

The operator to use to perform the evaluation.

Or

A list of predicates to combine logically.

Properties

And

A list of predicates to combine logically.

virtual object And { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-and

Field

The field to query.

virtual string Field { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-field

Operand

The value to use when performing the evaluation.

virtual string Operand { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-operand

Operator

The operator to use to perform the evaluation.

virtual string Operator { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-operator

Or

A list of predicates to combine logically.

virtual object Or { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-or

Back to top Generated by DocFX