aws-cdk-lib.aws_amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty

interface ComponentBindingPropertiesValueProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.ComponentBindingPropertiesValueProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_ComponentBindingPropertiesValueProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty
Pythonaws_cdk.aws_amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty
TypeScript aws-cdk-lib » aws_amplifyuibuilder » CfnComponent » ComponentBindingPropertiesValueProperty

The ComponentBindingPropertiesValue property specifies the data binding configuration for a component at runtime.

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.

Example

// 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';

declare const predicateProperty_: amplifyuibuilder.CfnComponent.PredicateProperty;
const componentBindingPropertiesValueProperty: amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty = {
  bindingProperties: {
    bucket: 'bucket',
    defaultValue: 'defaultValue',
    field: 'field',
    key: 'key',
    model: 'model',
    predicates: [{
      and: [predicateProperty_],
      field: 'field',
      operand: 'operand',
      operator: 'operator',
      or: [predicateProperty_],
    }],
    userAttribute: 'userAttribute',
  },
  defaultValue: 'defaultValue',
  type: 'type',
};

Properties

NameTypeDescription
bindingProperties?IResolvable | ComponentBindingPropertiesValuePropertiesPropertyDescribes the properties to customize with data at runtime.
defaultValue?stringThe default value of the property.
type?stringThe property type.

bindingProperties?

Type: IResolvable | ComponentBindingPropertiesValuePropertiesProperty (optional)

Describes the properties to customize with data at runtime.


defaultValue?

Type: string (optional)

The default value of the property.


type?

Type: string (optional)

The property type.