amazonka-amplifyuibuilder-2.0: Amazon Amplify UI Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AmplifyUiBuilder.Types.ComponentVariant

Description

 
Synopsis

Documentation

data ComponentVariant Source #

Describes the style configuration of a unique variation of a main component.

See: newComponentVariant smart constructor.

Constructors

ComponentVariant' 

Fields

  • overrides :: Maybe (HashMap Text (HashMap Text Text))

    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 :: Maybe (HashMap Text Text)

    The combination of variants that comprise this variant. You can't specify tags as a valid property for variantValues.

Instances

Instances details
FromJSON ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

ToJSON ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

Generic ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

Associated Types

type Rep ComponentVariant :: Type -> Type #

Read ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

Show ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

NFData ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

Methods

rnf :: ComponentVariant -> () #

Eq ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

Hashable ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

type Rep ComponentVariant Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.ComponentVariant

type Rep ComponentVariant = D1 ('MetaData "ComponentVariant" "Amazonka.AmplifyUiBuilder.Types.ComponentVariant" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "ComponentVariant'" 'PrefixI 'True) (S1 ('MetaSel ('Just "overrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "variantValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))

newComponentVariant :: ComponentVariant Source #

Create a value of ComponentVariant with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:overrides:ComponentVariant', componentVariant_overrides - 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.

$sel:variantValues:ComponentVariant', componentVariant_variantValues - The combination of variants that comprise this variant. You can't specify tags as a valid property for variantValues.

componentVariant_overrides :: Lens' ComponentVariant (Maybe (HashMap Text (HashMap Text Text))) Source #

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.

componentVariant_variantValues :: Lens' ComponentVariant (Maybe (HashMap Text Text)) Source #

The combination of variants that comprise this variant. You can't specify tags as a valid property for variantValues.