@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:15.605Z") @Stability(value=Stable) public class CfnComponent extends CfnResource implements IInspectable
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_;
CfnComponent cfnComponent = CfnComponent.Builder.create(this, "MyCfnComponent")
.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();
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnComponent(software.constructs.Construct scope,
String id)
Create a new `AWS::AmplifyUIBuilder::Component`.
|
|
CfnComponent(software.constructs.Construct scope,
String id,
CfnComponentProps props)
Create a new `AWS::AmplifyUIBuilder::Component`.
|
protected |
CfnComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnComponent(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAppId() |
String |
getAttrCreatedAt() |
String |
getAttrEnvironmentName() |
String |
getAttrId() |
String |
getAttrModifiedAt() |
Object |
getBindingProperties()
`AWS::AmplifyUIBuilder::Component.BindingProperties`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getChildren()
`AWS::AmplifyUIBuilder::Component.Children`.
|
Object |
getCollectionProperties()
`AWS::AmplifyUIBuilder::Component.CollectionProperties`.
|
String |
getComponentType()
`AWS::AmplifyUIBuilder::Component.ComponentType`.
|
String |
getName()
`AWS::AmplifyUIBuilder::Component.Name`.
|
Object |
getOverrides()
`AWS::AmplifyUIBuilder::Component.Overrides`.
|
Object |
getProperties()
`AWS::AmplifyUIBuilder::Component.Properties`.
|
String |
getSourceId()
`AWS::AmplifyUIBuilder::Component.SourceId`.
|
TagManager |
getTags()
`AWS::AmplifyUIBuilder::Component.Tags`.
|
Object |
getVariants()
`AWS::AmplifyUIBuilder::Component.Variants`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBindingProperties(IResolvable value)
`AWS::AmplifyUIBuilder::Component.BindingProperties`.
|
void |
setBindingProperties(Map<String,Object> value)
`AWS::AmplifyUIBuilder::Component.BindingProperties`.
|
void |
setChildren(IResolvable value)
`AWS::AmplifyUIBuilder::Component.Children`.
|
void |
setChildren(List<Object> value)
`AWS::AmplifyUIBuilder::Component.Children`.
|
void |
setCollectionProperties(IResolvable value)
`AWS::AmplifyUIBuilder::Component.CollectionProperties`.
|
void |
setCollectionProperties(Map<String,Object> value)
`AWS::AmplifyUIBuilder::Component.CollectionProperties`.
|
void |
setComponentType(String value)
`AWS::AmplifyUIBuilder::Component.ComponentType`.
|
void |
setName(String value)
`AWS::AmplifyUIBuilder::Component.Name`.
|
void |
setOverrides(IResolvable value)
`AWS::AmplifyUIBuilder::Component.Overrides`.
|
void |
setOverrides(Map<String,Object> value)
`AWS::AmplifyUIBuilder::Component.Overrides`.
|
void |
setProperties(IResolvable value)
`AWS::AmplifyUIBuilder::Component.Properties`.
|
void |
setProperties(Map<String,Object> value)
`AWS::AmplifyUIBuilder::Component.Properties`.
|
void |
setSourceId(String value)
`AWS::AmplifyUIBuilder::Component.SourceId`.
|
void |
setVariants(IResolvable value)
`AWS::AmplifyUIBuilder::Component.Variants`.
|
void |
setVariants(List<Object> value)
`AWS::AmplifyUIBuilder::Component.Variants`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnComponent(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnComponent(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnComponentProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnComponent(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrAppId()
@Stability(value=Stable) @NotNull public String getAttrCreatedAt()
@Stability(value=Stable) @NotNull public String getAttrEnvironmentName()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public String getAttrModifiedAt()
@Stability(value=Stable) @Nullable public Object getBindingProperties()
@Stability(value=Stable)
public void setBindingProperties(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setBindingProperties(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public Object getChildren()
@Stability(value=Stable)
public void setChildren(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setChildren(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getCollectionProperties()
@Stability(value=Stable)
public void setCollectionProperties(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setCollectionProperties(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @Nullable public String getComponentType()
@Stability(value=Stable)
public void setComponentType(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOverrides()
@Stability(value=Stable)
public void setOverrides(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setOverrides(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @Nullable public Object getProperties()
@Stability(value=Stable)
public void setProperties(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setProperties(@Nullable
Map<String,Object> value)
@Stability(value=Stable) @Nullable public String getSourceId()
@Stability(value=Stable)
public void setSourceId(@Nullable
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getVariants()
@Stability(value=Stable)
public void setVariants(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.