interface ComponentVariantProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.ComponentVariantProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentVariantProperty |
Python | aws_cdk.aws_amplifyuibuilder.CfnComponent.ComponentVariantProperty |
TypeScript | @aws-cdk/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 * as amplifyuibuilder from '@aws-cdk/aws-amplifyuibuilder';
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 | IResolvable | { [string]: string } | 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:
IResolvable | { [string]: string }
(optional)
The combination of variants that comprise this variant.

.NET
Java
Python
TypeScript