Class: AWSCDK::AmplifyUIBuilder::CfnForm::FormInputValuePropertyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmplifyUIBuilder::CfnForm::FormInputValuePropertyProperty
- Defined in:
- amplify_ui_builder/cfn_form.rb
Overview
The FormInputValueProperty property specifies the configuration for an input field on a form.
Use FormInputValueProperty to specify the values to render or bind by default.
Instance Attribute Summary collapse
-
#binding_properties ⇒ AWSCDK::IResolvable, ...
readonly
The information to bind fields to data at runtime.
-
#concat ⇒ AWSCDK::IResolvable, ...
readonly
A list of form properties to concatenate to create the value to assign to this field property.
-
#value ⇒ String?
readonly
The value to assign to the input field.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(binding_properties: nil, concat: nil, value: nil) ⇒ FormInputValuePropertyProperty
constructor
A new instance of FormInputValuePropertyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(binding_properties: nil, concat: nil, value: nil) ⇒ FormInputValuePropertyProperty
Returns a new instance of FormInputValuePropertyProperty.
1412 1413 1414 1415 1416 1417 1418 1419 |
# File 'amplify_ui_builder/cfn_form.rb', line 1412 def initialize(binding_properties: nil, concat: nil, value: nil) @binding_properties = binding_properties.is_a?(Hash) ? ::AWSCDK::AmplifyUIBuilder::CfnForm::FormInputValuePropertyBindingPropertiesProperty.new(**binding_properties.transform_keys(&:to_sym)) : binding_properties Jsii::Type.check_type(@binding_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hbXBsaWZ5dWlidWlsZGVyLkNmbkZvcm0uRm9ybUlucHV0VmFsdWVQcm9wZXJ0eUJpbmRpbmdQcm9wZXJ0aWVzUHJvcGVydHkifV19fQ==")), "bindingProperties") unless @binding_properties.nil? @concat = concat Jsii::Type.check_type(@concat, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYW1wbGlmeXVpYnVpbGRlci5DZm5Gb3JtLkZvcm1JbnB1dFZhbHVlUHJvcGVydHlQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "concat") unless @concat.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#binding_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The information to bind fields to data at runtime.
1425 1426 1427 |
# File 'amplify_ui_builder/cfn_form.rb', line 1425 def binding_properties @binding_properties end |
#concat ⇒ AWSCDK::IResolvable, ... (readonly)
A list of form properties to concatenate to create the value to assign to this field property.
1430 1431 1432 |
# File 'amplify_ui_builder/cfn_form.rb', line 1430 def concat @concat end |
#value ⇒ String? (readonly)
The value to assign to the input field.
1435 1436 1437 |
# File 'amplify_ui_builder/cfn_form.rb', line 1435 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
1437 1438 1439 1440 1441 1442 1443 |
# File 'amplify_ui_builder/cfn_form.rb', line 1437 def self.jsii_properties { :binding_properties => "bindingProperties", :concat => "concat", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
1445 1446 1447 1448 1449 1450 1451 1452 1453 |
# File 'amplify_ui_builder/cfn_form.rb', line 1445 def to_jsii result = {} result.merge!({ "bindingProperties" => @binding_properties, "concat" => @concat, "value" => @value, }) result.compact end |