@Stability(value=Stable)
public static interface CfnComponent.ComponentBindingPropertiesValuePropertiesProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.amplifyuibuilder.*;
PredicateProperty predicateProperty_;
ComponentBindingPropertiesValuePropertiesProperty componentBindingPropertiesValuePropertiesProperty = ComponentBindingPropertiesValuePropertiesProperty.builder()
.bucket("bucket")
.defaultValue("defaultValue")
.field("field")
.key("key")
.model("model")
.predicates(List.of(PredicateProperty.builder()
.and(List.of(predicateProperty_))
.field("field")
.operand("operand")
.operator("operator")
.or(List.of(predicateProperty_))
.build()))
.userAttribute("userAttribute")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder
|
static class |
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Jsii$Proxy
An implementation for
CfnComponent.ComponentBindingPropertiesValuePropertiesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder |
builder() |
default String |
getBucket()
An Amazon S3 bucket.
|
default String |
getDefaultValue()
The default value to assign to the property.
|
default String |
getField()
The field to bind the data to.
|
default String |
getKey()
The storage key for an Amazon S3 bucket.
|
default String |
getModel()
An Amplify DataStore model.
|
default Object |
getPredicates()
A list of predicates for binding a component's properties to data.
|
default String |
getUserAttribute()
An authenticated user attribute.
|
@Stability(value=Stable) @Nullable default String getBucket()
@Stability(value=Stable) @Nullable default String getDefaultValue()
@Stability(value=Stable) @Nullable default String getField()
@Stability(value=Stable) @Nullable default String getKey()
@Stability(value=Stable) @Nullable default String getModel()
@Stability(value=Stable) @Nullable default Object getPredicates()
@Stability(value=Stable) @Nullable default String getUserAttribute()
@Stability(value=Stable) static CfnComponent.ComponentBindingPropertiesValuePropertiesProperty.Builder builder()
Copyright © 2022. All rights reserved.