Class: Aws::AmplifyUIBuilder::Types::ComponentConditionProperty
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyUIBuilder::Types::ComponentConditionProperty
- Defined in:
- gems/aws-sdk-amplifyuibuilder/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.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |
#field ⇒ String
The name of a field. Specify this when the property is a data model.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |
#operand ⇒ String
The value of the property to evaluate.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |
#operand_type ⇒ String
The type of the property to evaluate.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |
#operator ⇒ String
The operator to use to perform the evaluation, such as eq
to
represent equals.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |
#property ⇒ String
The name of the conditional property.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |
#then ⇒ Types::ComponentProperty
The value to assign to the property if the condition is met.
349 350 351 352 353 354 355 356 357 358 359 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 349 class ComponentConditionProperty < Struct.new( :else, :field, :operand, :operand_type, :operator, :property, :then) SENSITIVE = [] include Aws::Structure end |