ComponentConditionProperty - AmplifyUIBuilder

ComponentConditionProperty

Represents a conditional expression to set a component property. Use ComponentConditionProperty to set a property to different values conditionally, based on the value of another property.

Contents

else

The value to assign to the property if the condition is not met.

Type: ComponentProperty object

Required: No

field

The name of a field. Specify this when the property is a data model.

Type: String

Required: No

operand

The value of the property to evaluate.

Type: String

Required: No

operandType

The type of the property to evaluate.

Type: String

Required: No

operator

The operator to use to perform the evaluation, such as eq to represent equals.

Type: String

Required: No

property

The name of the conditional property.

Type: String

Required: No

then

The value to assign to the property if the condition is met.

Type: ComponentProperty object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: