Class: Aws::AmplifyUIBuilder::Types::FormStyleConfig

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

Overview

Note:

FormStyleConfig is a union - when making an API calls you must set exactly one of the members.

Note:

FormStyleConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FormStyleConfig corresponding to the set member.

Describes the configuration settings for the form's style properties.

Direct Known Subclasses

TokenReference, Unknown, Value

Defined Under Namespace

Classes: TokenReference, Unknown, Value

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#token_referenceString

A reference to a design token to use to bind the form's style properties to an existing theme.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2132

class FormStyleConfig < Struct.new(
  :token_reference,
  :value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TokenReference < FormStyleConfig; end
  class Value < FormStyleConfig; end
  class Unknown < FormStyleConfig; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2132
2133
2134
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2132

def unknown
  @unknown
end

#valueString

The value of the style setting.

Returns:

  • (String)


2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 2132

class FormStyleConfig < Struct.new(
  :token_reference,
  :value,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TokenReference < FormStyleConfig; end
  class Value < FormStyleConfig; end
  class Unknown < FormStyleConfig; end
end