interface ValueMappingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnForm.ValueMappingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_ValueMappingsProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnForm.ValueMappingsProperty |
Python | aws_cdk.aws_amplifyuibuilder.CfnForm.ValueMappingsProperty |
TypeScript | aws-cdk-lib » aws_amplifyuibuilder » CfnForm » ValueMappingsProperty |
The ValueMappings property specifies the data binding configuration for a value map.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';
declare const formInputValuePropertyProperty_: amplifyuibuilder.CfnForm.FormInputValuePropertyProperty;
const valueMappingsProperty: amplifyuibuilder.CfnForm.ValueMappingsProperty = {
values: [{
value: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
concat: [formInputValuePropertyProperty_],
value: 'value',
},
// the properties below are optional
displayValue: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
concat: [formInputValuePropertyProperty_],
value: 'value',
},
}],
// the properties below are optional
bindingProperties: {
bindingPropertiesKey: {
bindingProperties: {
model: 'model',
},
type: 'type',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| values | IResolvable | (IResolvable | Value)[] | The value and display value pairs. |
| binding | IResolvable | { [string]: IResolvable | Form } | The information to bind fields to data at runtime. |
values
Type:
IResolvable | (IResolvable | Value)[]
The value and display value pairs.
bindingProperties?
Type:
IResolvable | { [string]: IResolvable | Form }
(optional)
The information to bind fields to data at runtime.

.NET
Go
Java
Python
TypeScript