interface ValueMappingProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnForm.ValueMappingProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnForm.ValueMappingProperty |
Python | aws_cdk.aws_amplifyuibuilder.CfnForm.ValueMappingProperty |
TypeScript | @aws-cdk/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 * as amplifyuibuilder from '@aws-cdk/aws-amplifyuibuilder';
const valueMappingProperty: amplifyuibuilder.CfnForm.ValueMappingProperty = {
value: {
value: 'value',
},
// the properties below are optional
displayValue: {
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.