aws-cdk-lib.aws_amplifyuibuilder.CfnComponent.ComponentVariantProperty

interface ComponentVariantProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.ComponentVariantProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_ComponentVariantProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentVariantProperty
Pythonaws_cdk.aws_amplifyuibuilder.CfnComponent.ComponentVariantProperty
TypeScript 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

NameTypeDescription
overrides?anyThe properties of the component variant that can be overriden when customizing an instance of the component.
variantValues?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.