Class CfnFormPropsMixin.ValueMappingsProperty
The ValueMappings property specifies the data binding configuration for a value map.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnFormPropsMixin.ValueMappingsProperty : CfnFormPropsMixin.IValueMappingsProperty
Syntax (vb)
Public Class CfnFormPropsMixin.ValueMappingsProperty Implements CfnFormPropsMixin.IValueMappingsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
var valueMappingsProperty = new ValueMappingsProperty {
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
},
Values = new [] { new ValueMappingProperty {
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} }
};
Synopsis
Constructors
| ValueMappingsProperty() | The |
Properties
| BindingProperties | The information to bind fields to data at runtime. |
| Values | The value and display value pairs. |
Constructors
ValueMappingsProperty()
The ValueMappings property specifies the data binding configuration for a value map.
public ValueMappingsProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
var valueMappingsProperty = new ValueMappingsProperty {
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
},
Values = new [] { new ValueMappingProperty {
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} }
};
Properties
BindingProperties
The information to bind fields to data at runtime.
public object? BindingProperties { get; set; }
Property Value
Remarks
Type union: either IResolvable or Dictionary<string, either IResolvable or CfnFormPropsMixin.IFormInputBindingPropertiesValueProperty>
Values
The value and display value pairs.
public object? Values { get; set; }