Skip to content
v2.278.0

FormBindingElementProperty Struct ​

Describes how to bind a component property to form data.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';
const formBindingElementProperty: amplifyuibuilder.CfnComponent.FormBindingElementProperty = {
  element: 'element',
  property: 'property',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amplifyuibuilder as amplifyuibuilder

form_binding_element_property = amplifyuibuilder.CfnComponent.FormBindingElementProperty(
    element="element",
    property="property"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplifyuibuilder.*;

FormBindingElementProperty formBindingElementProperty = FormBindingElementProperty.builder()
        .element("element")
        .property("property")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;

var formBindingElementProperty = new FormBindingElementProperty {
    Element = "element",
    Property = "property"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

formBindingElementProperty := &FormBindingElementProperty{
	Element: jsii.String("element"),
	Property: jsii.String("property"),
}

Properties ​

elementstringelementstrelementStringElementstringElement*string required #
The name of the component to retrieve a value from.
propertystringpropertystrpropertyStringPropertystringProperty*string required #
The property to retrieve a value from.