Skip to content
v2.278.0

ComponentPropertyBindingPropertiesProperty Struct ​

The ComponentPropertyBindingProperties property specifies a component property to associate with a binding property.

This enables exposed properties on the top level component to propagate data to the component's property values.

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 componentPropertyBindingPropertiesProperty: amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty = {
  property: 'property',

  // the properties below are optional
  field: 'field',
};
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

component_property_binding_properties_property = amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
    property="property",

    # the properties below are optional
    field="field"
)
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.*;

ComponentPropertyBindingPropertiesProperty componentPropertyBindingPropertiesProperty = ComponentPropertyBindingPropertiesProperty.builder()
        .property("property")

        // the properties below are optional
        .field("field")
        .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 componentPropertyBindingPropertiesProperty = new ComponentPropertyBindingPropertiesProperty {
    Property = "property",

    // the properties below are optional
    Field = "field"
};
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"

componentPropertyBindingPropertiesProperty := &ComponentPropertyBindingPropertiesProperty{
	Property: jsii.String("property"),

	// the properties below are optional
	Field: jsii.String("field"),
}

Properties ​

fieldoptionalstringfieldoptionalstrfieldoptionalStringFieldoptionalstringFieldoptional*string #
The data field to bind the property to.
propertystringpropertystrpropertyStringPropertystringProperty*string required #
The component property to bind to the data field.