Class: AWSCDK::AmplifyUIBuilder::CfnForm::FormInputValuePropertyBindingPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmplifyUIBuilder::CfnForm::FormInputValuePropertyBindingPropertiesProperty
- Defined in:
- amplify_ui_builder/cfn_form.rb
Overview
Associates a form property to a binding property.
This enables exposed properties on the top level form to propagate data to the form's property values.
Instance Attribute Summary collapse
-
#field ⇒ String?
readonly
The data field to bind the property to.
-
#property ⇒ String
readonly
The form property to bind to the data field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(property:, field: nil) ⇒ FormInputValuePropertyBindingPropertiesProperty
constructor
A new instance of FormInputValuePropertyBindingPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(property:, field: nil) ⇒ FormInputValuePropertyBindingPropertiesProperty
Returns a new instance of FormInputValuePropertyBindingPropertiesProperty.
1366 1367 1368 1369 1370 1371 |
# File 'amplify_ui_builder/cfn_form.rb', line 1366 def initialize(property:, field: nil) @property = property Jsii::Type.check_type(@property, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "property") @field = field Jsii::Type.check_type(@field, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "field") unless @field.nil? end |
Instance Attribute Details
#field ⇒ String? (readonly)
The data field to bind the property to.
1382 1383 1384 |
# File 'amplify_ui_builder/cfn_form.rb', line 1382 def field @field end |
#property ⇒ String (readonly)
The form property to bind to the data field.
1377 1378 1379 |
# File 'amplify_ui_builder/cfn_form.rb', line 1377 def property @property end |
Class Method Details
.jsii_properties ⇒ Object
1384 1385 1386 1387 1388 1389 |
# File 'amplify_ui_builder/cfn_form.rb', line 1384 def self.jsii_properties { :property => "property", :field => "field", } end |
Instance Method Details
#to_jsii ⇒ Object
1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'amplify_ui_builder/cfn_form.rb', line 1391 def to_jsii result = {} result.merge!({ "property" => @property, "field" => @field, }) result.compact end |