Class CfnComponent.ComponentVariantProperty
The ComponentVariant
property specifies the style configuration of a unique variation of a main component.
Inheritance
System.Object
CfnComponent.ComponentVariantProperty
Implements
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public class ComponentVariantProperty : Object, CfnComponent.IComponentVariantProperty
Syntax (vb)
Public Class ComponentVariantProperty
Inherits Object
Implements CfnComponent.IComponentVariantProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;
var overrides;
var componentVariantProperty = new ComponentVariantProperty {
Overrides = overrides,
VariantValues = new Dictionary<string, string> {
{ "variantValuesKey", "variantValues" }
}
};
Synopsis
Constructors
ComponentVariantProperty() |
Properties
Overrides | The properties of the component variant that can be overriden when customizing an instance of the component. |
VariantValues | The combination of variants that comprise this variant. |
Constructors
ComponentVariantProperty()
public ComponentVariantProperty()
Properties
Overrides
The properties of the component variant that can be overriden when customizing an instance of the component.
public object Overrides { get; set; }
Property Value
System.Object
Remarks
You can't specify tags
as a valid property for overrides
.
VariantValues
The combination of variants that comprise this variant.
public object VariantValues { get; set; }
Property Value
System.Object