Class CfnComponentPropsMixin.ComponentPropertyProperty
The ComponentProperty property specifies the configuration for all of a component's properties.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnComponentPropsMixin.ComponentPropertyProperty : CfnComponentPropsMixin.IComponentPropertyProperty
Syntax (vb)
Public Class CfnComponentPropsMixin.ComponentPropertyProperty Implements CfnComponentPropsMixin.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.CfnPropertyMixins.AWS.AmplifyUIBuilder;
ComponentPropertyProperty componentPropertyProperty_;
var componentPropertyProperty = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
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
Constructors
| ComponentPropertyProperty() | The |
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. |
Constructors
ComponentPropertyProperty()
The ComponentProperty property specifies the configuration for all of a component's properties.
public ComponentPropertyProperty()
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.CfnPropertyMixins.AWS.AmplifyUIBuilder;
ComponentPropertyProperty componentPropertyProperty_;
var componentPropertyProperty = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
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"
};
Properties
BindingProperties
The information to bind the component property to data at runtime.
public object? BindingProperties { get; set; }
Property Value
Remarks
Bindings
The information to bind the component property to form data.
public object? Bindings { get; set; }
Property Value
Remarks
Type union: either IResolvable or Dictionary<string, either IResolvable or CfnComponentPropsMixin.IFormBindingElementProperty>
CollectionBindingProperties
The information to bind the component property to data at runtime.
public object? CollectionBindingProperties { get; set; }
Property Value
Remarks
Use this for collection components.
Type union: either IResolvable or CfnComponentPropsMixin.IComponentPropertyBindingPropertiesProperty
ComponentName
The name of the component that is affected by an event.
public string? ComponentName { get; set; }
Property Value
Remarks
Concat
A list of component properties to concatenate to create the value to assign to this component property.
public object? Concat { get; set; }
Property Value
Remarks
Condition
The conditional expression to use to assign a value to the component property.
public object? Condition { get; set; }
Property Value
Remarks
Configured
Specifies whether the user configured the property in Amplify Studio after importing it.
public object? Configured { get; set; }
Property Value
Remarks
DefaultValue
The default value to assign to the component property.
public string? DefaultValue { get; set; }
Property Value
Remarks
Event
An event that occurs in your app.
public string? Event { get; set; }
Property Value
Remarks
ImportedValue
The default value assigned to the property when the component is imported into an app.
public string? ImportedValue { get; set; }
Property Value
Remarks
Model
The data model to use to assign a value to the component property.
public string? Model { get; set; }
Property Value
Remarks
Property
The name of the component's property that is affected by an event.
public string? Property { get; set; }
Property Value
Remarks
Type
The component type.
public string? Type { get; set; }
Property Value
Remarks
UserAttribute
An authenticated user attribute to use to assign a value to the component property.
public string? UserAttribute { get; set; }
Property Value
Remarks
Value
The value to assign to the component property.
public string? Value { get; set; }