Interface CfnComponent.IComponentPropertyProperty
The ComponentProperty
property specifies the configuration for all of a component's properties.
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IComponentPropertyProperty
Syntax (vb)
Public Interface IComponentPropertyProperty
Remarks
Use ComponentProperty
to specify the values to render or bind by default.
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;
ComponentPropertyProperty componentPropertyProperty_;
var componentPropertyProperty = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
};
Synopsis
Properties
BindingProperties | The information to bind the component property to data at runtime. |
Bindings | The information to bind the component property to form data. |
CollectionBindingProperties | The information to bind the component property to data at runtime. |
ComponentName | The name of the component that is affected by an event. |
Concat | A list of component properties to concatenate to create the value to assign to this component property. |
Condition | The conditional expression to use to assign a value to the component property. |
Configured | Specifies whether the user configured the property in Amplify Studio after importing it. |
DefaultValue | The default value to assign to the component property. |
Event | An event that occurs in your app. |
ImportedValue | The default value assigned to the property when the component is imported into an app. |
Model | The data model to use to assign a value to the component property. |
Property | The name of the component's property that is affected by an event. |
Type | The component type. |
UserAttribute | An authenticated user attribute to use to assign a value to the component property. |
Value | The value to assign to the component property. |
Properties
BindingProperties
The information to bind the component property to data at runtime.
virtual object BindingProperties { get; }
Property Value
System.Object
Remarks
Bindings
The information to bind the component property to form data.
virtual object Bindings { get; }
Property Value
System.Object
Remarks
CollectionBindingProperties
The information to bind the component property to data at runtime.
virtual object CollectionBindingProperties { get; }
Property Value
System.Object
Remarks
ComponentName
The name of the component that is affected by an event.
virtual string ComponentName { get; }
Property Value
System.String
Remarks
Concat
A list of component properties to concatenate to create the value to assign to this component property.
virtual object Concat { get; }
Property Value
System.Object
Remarks
Condition
The conditional expression to use to assign a value to the component property.
virtual object Condition { get; }
Property Value
System.Object
Remarks
Configured
Specifies whether the user configured the property in Amplify Studio after importing it.
virtual object Configured { get; }
Property Value
System.Object
Remarks
DefaultValue
The default value to assign to the component property.
virtual string DefaultValue { get; }
Property Value
System.String
Remarks
Event
An event that occurs in your app.
virtual string Event { get; }
Property Value
System.String
Remarks
ImportedValue
The default value assigned to the property when the component is imported into an app.
virtual string ImportedValue { get; }
Property Value
System.String
Remarks
Model
The data model to use to assign a value to the component property.
virtual string Model { get; }
Property Value
System.String
Remarks
Property
The name of the component's property that is affected by an event.
virtual string Property { get; }
Property Value
System.String
Remarks
Type
The component type.
virtual string Type { get; }
Property Value
System.String
Remarks
UserAttribute
An authenticated user attribute to use to assign a value to the component property.
virtual string UserAttribute { get; }
Property Value
System.String
Remarks
Value
The value to assign to the component property.
virtual string Value { get; }
Property Value
System.String