interface ComponentVariantProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder.CfnComponentPropsMixin.ComponentVariantProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplifyuibuilder#CfnComponentPropsMixin_ComponentVariantProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnComponentPropsMixin.ComponentVariantProperty |
Python | aws_cdk.cfn_property_mixins.aws_amplifyuibuilder.CfnComponentPropsMixin.ComponentVariantProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplifyuibuilder » CfnComponentPropsMixin » 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/cfn-property-mixins';
declare const overrides: any;
const componentVariantProperty: amplifyuibuilder.CfnComponentPropsMixin.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.

.NET
Go
Java
Python
TypeScript