Class: Aws::AmplifyUIBuilder::Types::ComponentVariant

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb

Overview

Note:

When making an API call, you may pass ComponentVariant data as a hash:

{
  overrides: {
    "String" => {
      "String" => "String",
    },
  },
  variant_values: {
    "String" => "String",
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#overridesHash<String,Hash<String,String>>

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.

Returns:

  • (Hash<String,Hash<String,String>>)


2515
2516
2517
2518
2519
2520
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2515

class ComponentVariant < Struct.new(
  :overrides,
  :variant_values)
  SENSITIVE = []
  include Aws::Structure
end

#variant_valuesHash<String,String>

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

Returns:

  • (Hash<String,String>)


2515
2516
2517
2518
2519
2520
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2515

class ComponentVariant < Struct.new(
  :overrides,
  :variant_values)
  SENSITIVE = []
  include Aws::Structure
end