interface ValueMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder.CfnFormPropsMixin.ValueMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplifyuibuilder#CfnFormPropsMixin_ValueMappingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnFormPropsMixin.ValueMappingProperty |
Python | aws_cdk.cfn_property_mixins.aws_amplifyuibuilder.CfnFormPropsMixin.ValueMappingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplifyuibuilder » 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 { aws_amplifyuibuilder as amplifyuibuilder } from '@aws-cdk/cfn-property-mixins';
declare const formInputValuePropertyProperty_: amplifyuibuilder.CfnFormPropsMixin.FormInputValuePropertyProperty;
const valueMappingProperty: amplifyuibuilder.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