Class: Aws::AmplifyUIBuilder::Types::ComponentConditionProperty
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyUIBuilder::Types::ComponentConditionProperty
- 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
-
#else ⇒ Types::ComponentProperty
The value to assign to the property if the condition is not met.
-
#field ⇒ String
The name of a field.
-
#operand ⇒ String
The value of the property to evaluate.
-
#operand_type ⇒ String
The type of the property to evaluate.
-
#operator ⇒ String
The operator to use to perform the evaluation, such as ‘eq` to represent equals.
-
#property ⇒ String
The name of the conditional property.
-
#then ⇒ Types::ComponentProperty
The value to assign to the property if the condition is met.
Instance Attribute Details
#else ⇒ Types::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 |
#field ⇒ String
The name of a field. Specify this when the property is a data model.
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 ⇒ String
The value of the property to evaluate.
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_type ⇒ String
The type of the property to evaluate.
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 |
#operator ⇒ String
The operator to use to perform the evaluation, such as ‘eq` to represent equals.
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 |
#property ⇒ String
The name of the conditional property.
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 |
#then ⇒ Types::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 |