interface ComponentVariantProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.ComponentVariantProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_ComponentVariantProperty |
![]() | software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentVariantProperty |
![]() | aws_cdk.aws_amplifyuibuilder.CfnComponent.ComponentVariantProperty |
![]() | aws-cdk-lib » aws_amplifyuibuilder » CfnComponent » ComponentVariantProperty |
The ComponentVariant
property specifies the style configuration of a unique variation of a main component.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';
declare const overrides: any;
const componentVariantProperty: amplifyuibuilder.CfnComponent.ComponentVariantProperty = {
overrides: overrides,
variantValues: {
variantValuesKey: 'variantValues',
},
};
Properties
Name | Type | Description |
---|---|---|
overrides? | any | The properties of the component variant that can be overriden when customizing an instance of the component. |
variant | { [string]: string } | IResolvable | The combination of variants that comprise this variant. |
overrides?
Type:
any
(optional)
The properties of the component variant that can be overriden when customizing an instance of the component.
You can't specify tags
as a valid property for overrides
.
variantValues?
Type:
{ [string]: string } |
IResolvable
(optional)
The combination of variants that comprise this variant.