Class CfnComponent
- All Implemented Interfaces:
IInspectable,IComponentRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
A component is a user interface (UI) element that you can customize. Use ComponentChild to configure an instance of a Component . A ComponentChild instance inherits the configuration of the main Component .
Example:
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents the event action configuration for an element of aComponentorComponentChild.static final classA fluent builder forCfnComponent.static interfaceTheComponentBindingPropertiesValuePropertiesproperty specifies the data binding configuration for a specific property using data stored in AWS .static interfaceTheComponentBindingPropertiesValueproperty specifies the data binding configuration for a component at runtime.static interfaceTheComponentChildproperty specifies a nested UI configuration within a parentComponent.static interfaceTheComponentConditionPropertyproperty specifies a conditional expression for setting a component property.static interfaceTheComponentDataConfigurationproperty specifies the configuration for binding a component's properties to data.static interfaceTheComponentEventproperty specifies the configuration of an event.static interfaceTheComponentPropertyBindingPropertiesproperty specifies a component property to associate with a binding property.static interfaceTheComponentPropertyproperty specifies the configuration for all of a component's properties.static interfaceTheComponentVariantproperty specifies the style configuration of a unique variation of a main component.static interfaceDescribes how to bind a component property to form data.static interfaceRepresents the state configuration when an action modifies a property of another element within the same component.static interfaceThePredicateproperty specifies information for generating Amplify DataStore queries.static interfaceTheSortPropertyproperty specifies how to sort the data that you bind to a component.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.amplifyuibuilder.IComponentRef
IComponentRef.Jsii$Default, IComponentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnComponent(software.amazon.jsii.JsiiObjectRef objRef) CfnComponent(software.constructs.Construct scope, String id) Create a newAWS::AmplifyUIBuilder::Component.CfnComponent(software.constructs.Construct scope, String id, CfnComponentProps props) Create a newAWS::AmplifyUIBuilder::Component. -
Method Summary
Modifier and TypeMethodDescriptiongetAppId()The unique ID of the Amplify app associated with the component.The time that the component was created.The unique ID of the component.The time that the component was modified.The information to connect a component's properties to data at runtime.A list of the component'sComponentChildinstances.The data binding configuration for the component's properties.A reference to a Component resource.The type of the component.The name of the backend environment that is a part of the Amplify app.Describes the events that can be raised on the component.getName()The name of the component.Describes the component's properties that can be overriden in a customized instance of the component.Describes the component's properties.The schema version of the component when it was imported.The unique ID of the component in its original source system, such as Figma.getTags()Tag Manager which manages the tags for this resource.One or more key-value pairs to use when tagging the component.A list of the component's variants.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnComponent.renderProperties(Map<String, Object> props) voidThe unique ID of the Amplify app associated with the component.voidsetBindingProperties(Map<String, Object> value) The information to connect a component's properties to data at runtime.voidsetBindingProperties(IResolvable value) The information to connect a component's properties to data at runtime.voidsetChildren(List<Object> value) A list of the component'sComponentChildinstances.voidsetChildren(IResolvable value) A list of the component'sComponentChildinstances.voidsetCollectionProperties(Map<String, Object> value) The data binding configuration for the component's properties.voidThe data binding configuration for the component's properties.voidsetComponentType(String value) The type of the component.voidsetEnvironmentName(String value) The name of the backend environment that is a part of the Amplify app.voidDescribes the events that can be raised on the component.voidsetEvents(IResolvable value) Describes the events that can be raised on the component.voidThe name of the component.voidsetOverrides(Object value) Describes the component's properties that can be overriden in a customized instance of the component.voidsetProperties(Map<String, Object> value) Describes the component's properties.voidsetProperties(IResolvable value) Describes the component's properties.voidsetSchemaVersion(String value) The schema version of the component when it was imported.voidsetSourceId(String value) The unique ID of the component in its original source system, such as Figma.voidsetTagsRaw(Map<String, String> value) One or more key-value pairs to use when tagging the component.voidsetVariants(List<Object> value) A list of the component's variants.voidsetVariants(IResolvable value) A list of the component's variants.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnComponent
protected CfnComponent(software.amazon.jsii.JsiiObjectRef objRef) -
CfnComponent
protected CfnComponent(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnComponent
@Stability(Stable) public CfnComponent(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnComponentProps props) Create a newAWS::AmplifyUIBuilder::Component.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnComponent
@Stability(Stable) public CfnComponent(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::AmplifyUIBuilder::Component.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
isCfnComponent
Checks whether the given object is a CfnComponent.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The time that the component was created. -
getAttrId
The unique ID of the component. -
getAttrModifiedAt
The time that the component was modified. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getComponentRef
A reference to a Component resource.- Specified by:
getComponentRefin interfaceIComponentRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAppId
The unique ID of the Amplify app associated with the component. -
setAppId
The unique ID of the Amplify app associated with the component. -
getBindingProperties
The information to connect a component's properties to data at runtime.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnComponent.ComponentBindingPropertiesValueProperty> -
setBindingProperties
The information to connect a component's properties to data at runtime. -
setBindingProperties
The information to connect a component's properties to data at runtime. -
getChildren
A list of the component'sComponentChildinstances.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComponent.ComponentChildProperty> -
setChildren
A list of the component'sComponentChildinstances. -
setChildren
A list of the component'sComponentChildinstances. -
getCollectionProperties
The data binding configuration for the component's properties.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnComponent.ComponentDataConfigurationProperty> -
setCollectionProperties
The data binding configuration for the component's properties. -
setCollectionProperties
The data binding configuration for the component's properties. -
getComponentType
The type of the component. -
setComponentType
The type of the component. -
getEnvironmentName
The name of the backend environment that is a part of the Amplify app. -
setEnvironmentName
The name of the backend environment that is a part of the Amplify app. -
getEvents
Describes the events that can be raised on the component.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnComponent.ComponentEventProperty> -
setEvents
Describes the events that can be raised on the component. -
setEvents
Describes the events that can be raised on the component. -
getName
The name of the component. -
setName
The name of the component. -
getOverrides
Describes the component's properties that can be overriden in a customized instance of the component. -
setOverrides
Describes the component's properties that can be overriden in a customized instance of the component. -
getProperties
Describes the component's properties.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnComponent.ComponentPropertyProperty> -
setProperties
Describes the component's properties. -
setProperties
Describes the component's properties. -
getSchemaVersion
The schema version of the component when it was imported. -
setSchemaVersion
The schema version of the component when it was imported. -
getSourceId
The unique ID of the component in its original source system, such as Figma. -
setSourceId
The unique ID of the component in its original source system, such as Figma. -
getTagsRaw
One or more key-value pairs to use when tagging the component. -
setTagsRaw
One or more key-value pairs to use when tagging the component. -
getVariants
A list of the component's variants.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComponent.ComponentVariantProperty> -
setVariants
A list of the component's variants. -
setVariants
A list of the component's variants.
-