Interface CfnComponent.ComponentVariantProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponent.ComponentVariantProperty.Jsii$Proxy
- Enclosing class:
CfnComponent
@Stability(Stable)
public static interface CfnComponent.ComponentVariantProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.amplifyuibuilder.*;
Object overrides;
ComponentVariantProperty componentVariantProperty = ComponentVariantProperty.builder()
.overrides(overrides)
.variantValues(Map.of(
"variantValuesKey", "variantValues"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnComponent.ComponentVariantPropertystatic final classAn implementation forCfnComponent.ComponentVariantProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOverrides
The properties of the component variant that can be overriden when customizing an instance of the component.You can't specify
tagsas a valid property foroverrides.- See Also:
-
getVariantValues
The combination of variants that comprise this variant.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
builder
-