Class CfnComponent
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.amplifyuibuilder.CfnComponent
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:25.285Z")
@Stability(Stable)
public class CfnComponent
extends CfnResource
implements IInspectable, ITaggable
The AWS::AmplifyUIBuilder::Component resource specifies a component within an Amplify app.
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
Modifier and TypeClassDescriptionstatic interface
Represents the event action configuration for an element of aComponent
orComponentChild
.static final class
A fluent builder forCfnComponent
.static interface
TheComponentBindingPropertiesValueProperties
property specifies the data binding configuration for a specific property using data stored in AWS .static interface
TheComponentBindingPropertiesValue
property specifies the data binding configuration for a component at runtime.static interface
TheComponentChild
property specifies a nested UI configuration within a parentComponent
.static interface
TheComponentConditionProperty
property specifies a conditional expression for setting a component property.static interface
TheComponentDataConfiguration
property specifies the configuration for binding a component's properties to data.static interface
TheComponentEvent
property specifies the configuration of an event.static interface
TheComponentPropertyBindingProperties
property specifies a component property to associate with a binding property.static interface
TheComponentProperty
property specifies the configuration for all of a component's properties.static interface
TheComponentVariant
property specifies the style configuration of a unique variation of a main component.static interface
Describes how to bind a component property to form data.static interface
Represents the state configuration when an action modifies a property of another element within the same component.static interface
ThePredicate
property specifies information for generating Amplify DataStore queries.static interface
TheSortProperty
property 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnComponent
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnComponent
(software.amazon.jsii.JsiiObjectRef objRef) CfnComponent
(software.constructs.Construct scope, String id) CfnComponent
(software.constructs.Construct scope, String id, CfnComponentProps props) -
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'sComponentChild
instances.The data binding configuration for the component's properties.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The unique ID of the Amplify app associated with the component.void
setBindingProperties
(Map<String, Object> value) The information to connect a component's properties to data at runtime.void
setBindingProperties
(IResolvable value) The information to connect a component's properties to data at runtime.void
setChildren
(List<Object> value) A list of the component'sComponentChild
instances.void
setChildren
(IResolvable value) A list of the component'sComponentChild
instances.void
setCollectionProperties
(Map<String, Object> value) The data binding configuration for the component's properties.void
The data binding configuration for the component's properties.void
setComponentType
(String value) The type of the component.void
setEnvironmentName
(String value) The name of the backend environment that is a part of the Amplify app.void
Describes the events that can be raised on the component.void
setEvents
(IResolvable value) Describes the events that can be raised on the component.void
The name of the component.void
setOverrides
(Object value) Describes the component's properties that can be overriden in a customized instance of the component.void
setProperties
(Map<String, Object> value) Describes the component's properties.void
setProperties
(IResolvable value) Describes the component's properties.void
setSchemaVersion
(String value) The schema version of the component when it was imported.void
setSourceId
(String value) The unique ID of the component in its original source system, such as Figma.void
setTagsRaw
(Map<String, String> value) One or more key-value pairs to use when tagging the component.void
setVariants
(List<Object> value) A list of the component's variants.void
setVariants
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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. -
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'sComponentChild
instances. -
setChildren
A list of the component'sComponentChild
instances. -
setChildren
A list of the component'sComponentChild
instances. -
getCollectionProperties
The data binding configuration for the component's properties. -
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. -
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. -
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. -
setVariants
A list of the component's variants. -
setVariants
A list of the component's variants.
-