Class: Aws::AmplifyUIBuilder::Types::ComponentConditionProperty

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-amplifyuibuilder/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#elseTypes::ComponentProperty

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



771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#fieldString

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

Returns:

  • (String)


771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operandString

The value of the property to evaluate.

Returns:

  • (String)


771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operand_typeString

The type of the property to evaluate.

Returns:

  • (String)


771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

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

Returns:

  • (String)


771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#propertyString

The name of the conditional property.

Returns:

  • (String)


771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end

#thenTypes::ComponentProperty

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



771
772
773
774
775
776
777
778
779
780
781
# File 'lib/aws-sdk-amplifyuibuilder/types.rb', line 771

class ComponentConditionProperty < Struct.new(
  :property,
  :field,
  :operator,
  :operand,
  :then,
  :else,
  :operand_type)
  SENSITIVE = []
  include Aws::Structure
end