@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.609Z") @Stability(value=Stable) public interface CfnComponentProps extends software.amazon.jsii.JsiiSerializable
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.*;
ComponentChildProperty componentChildProperty_;
ComponentPropertyProperty componentPropertyProperty_;
PredicateProperty predicateProperty_;
CfnComponentProps cfnComponentProps = CfnComponentProps.builder()
.bindingProperties(Map.of(
"bindingPropertiesKey", ComponentBindingPropertiesValueProperty.builder()
.bindingProperties(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())
.defaultValue("defaultValue")
.type("type")
.build()))
.children(List.of(ComponentChildProperty.builder()
.componentType("componentType")
.name("name")
.properties(ComponentPropertiesProperty.builder().build())
// the properties below are optional
.children(List.of(componentChildProperty_))
.build()))
.collectionProperties(Map.of(
"collectionPropertiesKey", ComponentDataConfigurationProperty.builder()
.model("model")
// the properties below are optional
.identifiers(List.of("identifiers"))
.predicate(PredicateProperty.builder()
.and(List.of(predicateProperty_))
.field("field")
.operand("operand")
.operator("operator")
.or(List.of(predicateProperty_))
.build())
.sort(List.of(SortPropertyProperty.builder()
.direction("direction")
.field("field")
.build()))
.build()))
.componentType("componentType")
.name("name")
.overrides(Map.of(
"overridesKey", ComponentOverridesValueProperty.builder().build()))
.properties(Map.of(
"propertiesKey", ComponentPropertyProperty.builder()
.bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.bindings(FormBindingsProperty.builder().build())
.collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
.property("property")
// the properties below are optional
.field("field")
.build())
.concat(List.of(componentPropertyProperty_))
.condition(ComponentConditionPropertyProperty.builder()
.else(componentPropertyProperty_)
.field("field")
.operand("operand")
.operator("operator")
.property("property")
.then(componentPropertyProperty_)
.build())
.configured(false)
.defaultValue("defaultValue")
.event("event")
.importedValue("importedValue")
.model("model")
.type("type")
.userAttribute("userAttribute")
.value("value")
.build()))
.sourceId("sourceId")
.tags(Map.of(
"tagsKey", "tags"))
.variants(List.of(ComponentVariantProperty.builder()
.overrides(ComponentOverridesProperty.builder().build())
.variantValues(ComponentVariantValuesProperty.builder().build())
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentProps.Builder
A builder for
CfnComponentProps |
static class |
CfnComponentProps.Jsii$Proxy
An implementation for
CfnComponentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentProps.Builder |
builder() |
default Object |
getBindingProperties()
`AWS::AmplifyUIBuilder::Component.BindingProperties`.
|
default Object |
getChildren()
`AWS::AmplifyUIBuilder::Component.Children`.
|
default Object |
getCollectionProperties()
`AWS::AmplifyUIBuilder::Component.CollectionProperties`.
|
default String |
getComponentType()
`AWS::AmplifyUIBuilder::Component.ComponentType`.
|
default String |
getName()
`AWS::AmplifyUIBuilder::Component.Name`.
|
default Object |
getOverrides()
`AWS::AmplifyUIBuilder::Component.Overrides`.
|
default Object |
getProperties()
`AWS::AmplifyUIBuilder::Component.Properties`.
|
default String |
getSourceId()
`AWS::AmplifyUIBuilder::Component.SourceId`.
|
default Map<String,String> |
getTags()
`AWS::AmplifyUIBuilder::Component.Tags`.
|
default Object |
getVariants()
`AWS::AmplifyUIBuilder::Component.Variants`.
|
@Stability(value=Stable) @Nullable default Object getBindingProperties()
@Stability(value=Stable) @Nullable default Object getChildren()
@Stability(value=Stable) @Nullable default Object getCollectionProperties()
@Stability(value=Stable) @Nullable default String getComponentType()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getOverrides()
@Stability(value=Stable) @Nullable default Object getProperties()
@Stability(value=Stable) @Nullable default String getSourceId()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) @Nullable default Object getVariants()
@Stability(value=Stable) static CfnComponentProps.Builder builder()
CfnComponentProps.Builder of CfnComponentPropsCopyright © 2021. All rights reserved.