Class CfnComponent.ComponentBindingPropertiesValuePropertiesProperty
The ComponentBindingPropertiesValueProperties
property specifies the data binding configuration for a specific property using data stored in AWS .
Inheritance
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ComponentBindingPropertiesValuePropertiesProperty : Object, CfnComponent.IComponentBindingPropertiesValuePropertiesProperty
Syntax (vb)
Public Class ComponentBindingPropertiesValuePropertiesProperty
Inherits Object
Implements CfnComponent.IComponentBindingPropertiesValuePropertiesProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;
PredicateProperty predicateProperty_;
var componentBindingPropertiesValuePropertiesProperty = new ComponentBindingPropertiesValuePropertiesProperty {
Bucket = "bucket",
DefaultValue = "defaultValue",
Field = "field",
Key = "key",
Model = "model",
Predicates = new [] { new PredicateProperty {
And = new [] { predicateProperty_ },
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Or = new [] { predicateProperty_ }
} },
SlotName = "slotName",
UserAttribute = "userAttribute"
};
Synopsis
Constructors
ComponentBindingPropertiesValuePropertiesProperty() |
Properties
Bucket | An Amazon S3 bucket. |
DefaultValue | The default value to assign to the property. |
Field | The field to bind the data to. |
Key | The storage key for an Amazon S3 bucket. |
Model | An Amplify DataStore model. |
Predicates | A list of predicates for binding a component's properties to data. |
SlotName | The name of a component slot. |
UserAttribute | An authenticated user attribute. |
Constructors
ComponentBindingPropertiesValuePropertiesProperty()
public ComponentBindingPropertiesValuePropertiesProperty()
Properties
Bucket
An Amazon S3 bucket.
public string Bucket { get; set; }
Property Value
System.String
Remarks
DefaultValue
The default value to assign to the property.
public string DefaultValue { get; set; }
Property Value
System.String
Remarks
Field
The field to bind the data to.
public string Field { get; set; }
Property Value
System.String
Remarks
Key
The storage key for an Amazon S3 bucket.
public string Key { get; set; }
Property Value
System.String
Remarks
Model
An Amplify DataStore model.
public string Model { get; set; }
Property Value
System.String
Remarks
Predicates
A list of predicates for binding a component's properties to data.
public object Predicates { get; set; }
Property Value
System.Object
Remarks
SlotName
The name of a component slot.
public string SlotName { get; set; }
Property Value
System.String
Remarks
UserAttribute
An authenticated user attribute.
public string UserAttribute { get; set; }
Property Value
System.String