class CfnComponentPropsMixin (mixin)
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder.CfnComponentPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplifyuibuilder#CfnComponentPropsMixin |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnComponentPropsMixin |
Python | aws_cdk.cfn_property_mixins.aws_amplifyuibuilder.CfnComponentPropsMixin |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplifyuibuilder » CfnComponentPropsMixin |
Implements
IMixin
Extends
Mixin
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
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Initializer
new CfnComponentPropsMixin(props: CfnComponentMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Component Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::AmplifyUIBuilder::Component.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | IMerge | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
IMerge
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): void
Parameters
- construct
IConstruct
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript