Class: AWSCDK::AmplifyUIBuilder::CfnForm::ValueMappingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmplifyUIBuilder::CfnForm::ValueMappingsProperty
- Defined in:
- amplify_ui_builder/cfn_form.rb
Overview
The ValueMappings property specifies the data binding configuration for a value map.
Instance Attribute Summary collapse
-
#binding_properties ⇒ AWSCDK::IResolvable, ...
readonly
The information to bind fields to data at runtime.
-
#values ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::AmplifyUIBuilder::CfnForm::ValueMappingProperty>
readonly
The value and display value pairs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(values:, binding_properties: nil) ⇒ ValueMappingsProperty
constructor
A new instance of ValueMappingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(values:, binding_properties: nil) ⇒ ValueMappingsProperty
Returns a new instance of ValueMappingsProperty.
1696 1697 1698 1699 1700 1701 |
# File 'amplify_ui_builder/cfn_form.rb', line 1696 def initialize(values:, binding_properties: nil) @values = values Jsii::Type.check_type(@values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYW1wbGlmeXVpYnVpbGRlci5DZm5Gb3JtLlZhbHVlTWFwcGluZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "values") @binding_properties = binding_properties Jsii::Type.check_type(@binding_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYW1wbGlmeXVpYnVpbGRlci5DZm5Gb3JtLkZvcm1JbnB1dEJpbmRpbmdQcm9wZXJ0aWVzVmFsdWVQcm9wZXJ0eSJ9XX19LCJraW5kIjoibWFwIn19XX19")), "bindingProperties") unless @binding_properties.nil? end |
Instance Attribute Details
#binding_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The information to bind fields to data at runtime.
1712 1713 1714 |
# File 'amplify_ui_builder/cfn_form.rb', line 1712 def binding_properties @binding_properties end |
#values ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::AmplifyUIBuilder::CfnForm::ValueMappingProperty> (readonly)
The value and display value pairs.
1707 1708 1709 |
# File 'amplify_ui_builder/cfn_form.rb', line 1707 def values @values end |
Class Method Details
.jsii_properties ⇒ Object
1714 1715 1716 1717 1718 1719 |
# File 'amplify_ui_builder/cfn_form.rb', line 1714 def self.jsii_properties { :values => "values", :binding_properties => "bindingProperties", } end |
Instance Method Details
#to_jsii ⇒ Object
1721 1722 1723 1724 1725 1726 1727 1728 |
# File 'amplify_ui_builder/cfn_form.rb', line 1721 def to_jsii result = {} result.merge!({ "values" => @values, "bindingProperties" => @binding_properties, }) result.compact end |