class Aws::AmplifyUIBuilder::Types::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.

@note When making an API call, you may pass ComponentConditionProperty

data as a hash:

    {
      else: {
        binding_properties: {
          field: "String",
          property: "String", # required
        },
        bindings: {
          "String" => {
            element: "String", # required
            property: "String", # required
          },
        },
        collection_binding_properties: {
          field: "String",
          property: "String", # required
        },
        concat: [
          {
            # recursive ComponentProperty
          },
        ],
        condition: {
          else: {
            # recursive ComponentProperty
          },
          field: "String",
          operand: "String",
          operator: "String",
          property: "String",
          then: {
            # recursive ComponentProperty
          },
        },
        configured: false,
        default_value: "String",
        event: "String",
        imported_value: "String",
        model: "String",
        type: "String",
        user_attribute: "String",
        value: "String",
      },
      field: "String",
      operand: "String",
      operator: "String",
      property: "String",
      then: {
        binding_properties: {
          field: "String",
          property: "String", # required
        },
        bindings: {
          "String" => {
            element: "String", # required
            property: "String", # required
          },
        },
        collection_binding_properties: {
          field: "String",
          property: "String", # required
        },
        concat: [
          {
            # recursive ComponentProperty
          },
        ],
        condition: {
          else: {
            # recursive ComponentProperty
          },
          field: "String",
          operand: "String",
          operator: "String",
          property: "String",
          then: {
            # recursive ComponentProperty
          },
        },
        configured: false,
        default_value: "String",
        event: "String",
        imported_value: "String",
        model: "String",
        type: "String",
        user_attribute: "String",
        value: "String",
      },
    }

@!attribute [rw] else

The value to assign to the property if the condition is not met.
@return [Types::ComponentProperty]

@!attribute [rw] field

The name of a field. Specify this when the property is a data model.
@return [String]

@!attribute [rw] operand

The value of the property to evaluate.
@return [String]

@!attribute [rw] operator

The operator to use to perform the evaluation, such as `eq` to
represent equals.
@return [String]

@!attribute [rw] property

The name of the conditional property.
@return [String]

@!attribute [rw] then

The value to assign to the property if the condition is met.
@return [Types::ComponentProperty]

@see docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ComponentConditionProperty AWS API Documentation

Constants

SENSITIVE