Show / Hide Table of Contents

Class CfnComponent.PredicateProperty

The Predicate property specifies information for generating Amplify DataStore queries.

Inheritance
System.Object
CfnComponent.PredicateProperty
Implements
CfnComponent.IPredicateProperty
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public class PredicateProperty : Object, CfnComponent.IPredicateProperty
Syntax (vb)
Public Class PredicateProperty
    Inherits Object
    Implements CfnComponent.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

Constructors

PredicateProperty()

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.

Constructors

PredicateProperty()

public PredicateProperty()

Properties

And

A list of predicates to combine logically.

public object And { get; set; }
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.

public string Field { get; set; }
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.

public string Operand { get; set; }
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.

public string Operator { get; set; }
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.

public object Or { get; set; }
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

Implements

CfnComponent.IPredicateProperty
Back to top Generated by DocFX