package awsamplifyuibuilder


// 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 "github.com/aws/aws-cdk-go/awscdk"
//
//   var formInputValuePropertyProperty_ formInputValuePropertyProperty
//
//   valueMappingProperty := &ValueMappingProperty{
//   	Value: &formInputValuePropertyProperty{
//   		BindingProperties: &FormInputValuePropertyBindingPropertiesProperty{
//   			Property: jsii.String("property"),
//
//   			// the properties below are optional
//   			Field: jsii.String("field"),
//   		},
//   		Concat: []interface{}{
//   			formInputValuePropertyProperty_,
//   		},
//   		Value: jsii.String("value"),
//   	},
//
//   	// the properties below are optional
//   	DisplayValue: &formInputValuePropertyProperty{
//   		BindingProperties: &FormInputValuePropertyBindingPropertiesProperty{
//   			Property: jsii.String("property"),
//
//   			// the properties below are optional
//   			Field: jsii.String("field"),
//   		},
//   		Concat: []interface{}{
//   			formInputValuePropertyProperty_,
//   		},
//   		Value: jsii.String("value"),
//   	},
//   }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-valuemapping.html
//
type CfnForm_ValueMappingProperty struct {
	// The complex object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-valuemapping.html#cfn-amplifyuibuilder-form-valuemapping-value
	//
	Value interface{} `field:"required" json:"value" yaml:"value"`
	// The value to display for the complex object.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-valuemapping.html#cfn-amplifyuibuilder-form-valuemapping-displayvalue
	//
	DisplayValue interface{} `field:"optional" json:"displayValue" yaml:"displayValue"`
}

