interface ValueMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmplifyUIBuilder.Mixins.CfnFormPropsMixin.ValueMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplifyuibuilder/mixins#CfnFormPropsMixin_ValueMappingProperty |
Java | software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnFormPropsMixin.ValueMappingProperty |
Python | aws_cdk.mixins_preview.aws_amplifyuibuilder.mixins.CfnFormPropsMixin.ValueMappingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amplifyuibuilder » mixins » CfnFormPropsMixin » 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 { mixins as amplifyuibuilder_mixins } from '@aws-cdk/mixins-preview/aws-amplifyuibuilder';
declare const formInputValuePropertyProperty_: amplifyuibuilder_mixins.CfnFormPropsMixin.FormInputValuePropertyProperty;
const valueMappingProperty: amplifyuibuilder_mixins.CfnFormPropsMixin.ValueMappingProperty = {
displayValue: {
bindingProperties: {
field: 'field',
property: 'property',
},
concat: [formInputValuePropertyProperty_],
value: 'value',
},
value: {
bindingProperties: {
field: 'field',
property: 'property',
},
concat: [formInputValuePropertyProperty_],
value: 'value',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| display | IResolvable | Form | The value to display for the complex object. |
| value? | IResolvable | Form | The complex object. |
displayValue?
Type:
IResolvable | Form
(optional)
The value to display for the complex object.
value?
Type:
IResolvable | Form
(optional)
The complex object.

.NET
Go
Java
Python
TypeScript