interface ComponentBindingPropertiesValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmplifyUIBuilder.Mixins.CfnComponentPropsMixin.ComponentBindingPropertiesValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplifyuibuilder/mixins#CfnComponentPropsMixin_ComponentBindingPropertiesValueProperty |
Java | software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnComponentPropsMixin.ComponentBindingPropertiesValueProperty |
Python | aws_cdk.mixins_preview.aws_amplifyuibuilder.mixins.CfnComponentPropsMixin.ComponentBindingPropertiesValueProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amplifyuibuilder » mixins » CfnComponentPropsMixin » 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 { mixins as amplifyuibuilder_mixins } from '@aws-cdk/mixins-preview/aws-amplifyuibuilder';
declare const predicateProperty_: amplifyuibuilder_mixins.CfnComponentPropsMixin.PredicateProperty;
const componentBindingPropertiesValueProperty: amplifyuibuilder_mixins.CfnComponentPropsMixin.ComponentBindingPropertiesValueProperty = {
bindingProperties: {
bucket: 'bucket',
defaultValue: 'defaultValue',
field: 'field',
key: 'key',
model: 'model',
predicates: [{
and: [predicateProperty_],
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
or: [predicateProperty_],
}],
slotName: 'slotName',
userAttribute: 'userAttribute',
},
defaultValue: 'defaultValue',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| binding | IResolvable | Component | Describes the properties to customize with data at runtime. |
| default | string | The default value of the property. |
| type? | string | The property type. |
bindingProperties?
Type:
IResolvable | Component
(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.

.NET
Go
Java
Python
TypeScript