Class CfnComponent.ComponentBindingPropertiesValueProperty
The ComponentBindingPropertiesValue
property specifies the data binding configuration for a component at runtime.
Inheritance
System.Object
CfnComponent.ComponentBindingPropertiesValueProperty
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public class ComponentBindingPropertiesValueProperty : Object, CfnComponent.IComponentBindingPropertiesValueProperty
Syntax (vb)
Public Class ComponentBindingPropertiesValueProperty
Inherits Object
Implements CfnComponent.IComponentBindingPropertiesValueProperty
Remarks
You can use ComponentBindingPropertiesValue
to add exposed properties to a component to allow different values to be entered when a component is reused in different places in an app.
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.AWS.AmplifyUIBuilder;
PredicateProperty predicateProperty_;
var componentBindingPropertiesValueProperty = new ComponentBindingPropertiesValueProperty {
BindingProperties = new ComponentBindingPropertiesValuePropertiesProperty {
Bucket = "bucket",
DefaultValue = "defaultValue",
Field = "field",
Key = "key",
Model = "model",
Predicates = new [] { new PredicateProperty {
And = new [] { predicateProperty_ },
Field = "field",
Operand = "operand",
Operator = "operator",
Or = new [] { predicateProperty_ }
} },
UserAttribute = "userAttribute"
},
DefaultValue = "defaultValue",
Type = "type"
};
Synopsis
Constructors
ComponentBindingPropertiesValueProperty() |
Properties
BindingProperties | Describes the properties to customize with data at runtime. |
DefaultValue | The default value of the property. |
Type | The property type. |
Constructors
ComponentBindingPropertiesValueProperty()
public ComponentBindingPropertiesValueProperty()
Properties
BindingProperties
Describes the properties to customize with data at runtime.
public object BindingProperties { get; set; }
Property Value
System.Object
Remarks
DefaultValue
The default value of the property.
public string DefaultValue { get; set; }
Property Value
System.String
Remarks
Type
The property type.
public string Type { get; set; }
Property Value
System.String