aws-cdk-lib.aws_amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty

interface ComponentBindingPropertiesValuePropertiesProperty

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

The ComponentBindingPropertiesValueProperties property specifies the data binding configuration for a specific property using data stored in AWS .

For AWS connected properties, you can bind a property to data stored in an Amazon S3 bucket, an Amplify DataStore model or an authenticated user attribute.

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 componentBindingPropertiesValuePropertiesProperty: amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty = {
  bucket: 'bucket',
  defaultValue: 'defaultValue',
  field: 'field',
  key: 'key',
  model: 'model',
  predicates: [{
    and: [predicateProperty_],
    field: 'field',
    operand: 'operand',
    operator: 'operator',
    or: [predicateProperty_],
  }],
  userAttribute: 'userAttribute',
};

Properties

NameTypeDescription
bucket?stringAn Amazon S3 bucket.
defaultValue?stringThe default value to assign to the property.
field?stringThe field to bind the data to.
key?stringThe storage key for an Amazon S3 bucket.
model?stringAn Amplify DataStore model.
predicates?IResolvable | IResolvable | PredicateProperty[]A list of predicates for binding a component's properties to data.
userAttribute?stringAn authenticated user attribute.

bucket?

Type: string (optional)

An Amazon S3 bucket.


defaultValue?

Type: string (optional)

The default value to assign to the property.


field?

Type: string (optional)

The field to bind the data to.


key?

Type: string (optional)

The storage key for an Amazon S3 bucket.


model?

Type: string (optional)

An Amplify DataStore model.


predicates?

Type: IResolvable | IResolvable | PredicateProperty[] (optional)

A list of predicates for binding a component's properties to data.


userAttribute?

Type: string (optional)

An authenticated user attribute.