class CfnComponentPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmplifyUIBuilder.Mixins.CfnComponentPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplifyuibuilder/mixins#CfnComponentPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnComponentPropsMixin |
Python | aws_cdk.mixins_preview.aws_amplifyuibuilder.mixins.CfnComponentPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_amplifyuibuilder » mixins » 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 | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
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): IConstruct
Parameters
- construct
IConstruct
Returns
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