Class: AWSCDK::AmplifyUIBuilder::CfnForm::FormInputBindingPropertiesValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmplifyUIBuilder::CfnForm::FormInputBindingPropertiesValueProperty
- Defined in:
- amplify_ui_builder/cfn_form.rb
Overview
Represents the data binding configuration for a form's input fields at runtime.You can use FormInputBindingPropertiesValue to add exposed properties to a form to allow different values to be entered when a form is reused in different places in an app.
Instance Attribute Summary collapse
-
#binding_properties ⇒ AWSCDK::IResolvable, ...
readonly
Describes the properties to customize with data at runtime.
-
#type ⇒ String?
readonly
The property type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(binding_properties: nil, type: nil) ⇒ FormInputBindingPropertiesValueProperty
constructor
A new instance of FormInputBindingPropertiesValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(binding_properties: nil, type: nil) ⇒ FormInputBindingPropertiesValueProperty
Returns a new instance of FormInputBindingPropertiesValueProperty.
1321 1322 1323 1324 1325 1326 |
# File 'amplify_ui_builder/cfn_form.rb', line 1321 def initialize(binding_properties: nil, type: nil) @binding_properties = binding_properties.is_a?(Hash) ? ::AWSCDK::AmplifyUIBuilder::CfnForm::FormInputBindingPropertiesValuePropertiesProperty.new(**binding_properties.transform_keys(&:to_sym)) : binding_properties Jsii::Type.check_type(@binding_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hbXBsaWZ5dWlidWlsZGVyLkNmbkZvcm0uRm9ybUlucHV0QmluZGluZ1Byb3BlcnRpZXNWYWx1ZVByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "bindingProperties") unless @binding_properties.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#binding_properties ⇒ AWSCDK::IResolvable, ... (readonly)
Describes the properties to customize with data at runtime.
1332 1333 1334 |
# File 'amplify_ui_builder/cfn_form.rb', line 1332 def binding_properties @binding_properties end |
#type ⇒ String? (readonly)
The property type.
1337 1338 1339 |
# File 'amplify_ui_builder/cfn_form.rb', line 1337 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1339 1340 1341 1342 1343 1344 |
# File 'amplify_ui_builder/cfn_form.rb', line 1339 def self.jsii_properties { :binding_properties => "bindingProperties", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1346 1347 1348 1349 1350 1351 1352 1353 |
# File 'amplify_ui_builder/cfn_form.rb', line 1346 def to_jsii result = {} result.merge!({ "bindingProperties" => @binding_properties, "type" => @type, }) result.compact end |