aws-cdk-lib.aws_amplifyuibuilder.CfnForm.ValueMappingProperty

interface ValueMappingProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnForm.ValueMappingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_ValueMappingProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnForm.ValueMappingProperty
Pythonaws_cdk.aws_amplifyuibuilder.CfnForm.ValueMappingProperty
TypeScript 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';
const valueMappingProperty: amplifyuibuilder.CfnForm.ValueMappingProperty = {
  value: {
    value: 'value',
  },

  // the properties below are optional
  displayValue: {
    value: 'value',
  },
};

Properties

NameTypeDescription
valueIResolvable | FormInputValuePropertyPropertyThe complex object.
displayValue?IResolvable | FormInputValuePropertyPropertyThe value to display for the complex object.

value

Type: IResolvable | FormInputValuePropertyProperty

The complex object.


displayValue?

Type: IResolvable | FormInputValuePropertyProperty (optional)

The value to display for the complex object.