interface ValueMappingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AmplifyUIBuilder.CfnForm.ValueMappingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_ValueMappingProperty |
![]() | software.amazon.awscdk.services.amplifyuibuilder.CfnForm.ValueMappingProperty |
![]() | aws_cdk.aws_amplifyuibuilder.CfnForm.ValueMappingProperty |
![]() | aws-cdk-lib » aws_amplifyuibuilder » CfnForm » ValueMappingProperty |
The ValueMapping
property specifies the association between a complex object and a display value.
Use ValueMapping
to store how to represent complex objects when they are displayed.
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 valueMappingProperty: amplifyuibuilder.CfnForm.ValueMappingProperty = {
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',
},
};
Properties
Name | Type | Description |
---|---|---|
value | IResolvable | Form | The complex object. |
display | IResolvable | Form | The value to display for the complex object. |
value
Type:
IResolvable
|
Form
The complex object.
displayValue?
Type:
IResolvable
|
Form
(optional)
The value to display for the complex object.