interface ValueMappingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder.CfnFormPropsMixin.ValueMappingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplifyuibuilder#CfnFormPropsMixin_ValueMappingsProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnFormPropsMixin.ValueMappingsProperty |
Python | aws_cdk.cfn_property_mixins.aws_amplifyuibuilder.CfnFormPropsMixin.ValueMappingsProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplifyuibuilder » CfnFormPropsMixin » 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/cfn-property-mixins';
declare const formInputValuePropertyProperty_: amplifyuibuilder.CfnFormPropsMixin.FormInputValuePropertyProperty;
const valueMappingsProperty: amplifyuibuilder.CfnFormPropsMixin.ValueMappingsProperty = {
bindingProperties: {
bindingPropertiesKey: {
bindingProperties: {
model: 'model',
},
type: 'type',
},
},
values: [{
displayValue: {
bindingProperties: {
field: 'field',
property: 'property',
},
concat: [formInputValuePropertyProperty_],
value: 'value',
},
value: {
bindingProperties: {
field: 'field',
property: 'property',
},
concat: [formInputValuePropertyProperty_],
value: 'value',
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| binding | IResolvable | { [string]: IResolvable | Form } | The information to bind fields to data at runtime. |
| values? | 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.
values?
Type:
IResolvable | (IResolvable | Value)[]
(optional)
The value and display value pairs.

.NET
Go
Java
Python
TypeScript