Class: AWSCDK::AmplifyUIBuilder::CfnTheme::ThemeValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AmplifyUIBuilder::CfnTheme::ThemeValueProperty
- Defined in:
- amplify_ui_builder/cfn_theme.rb
Overview
The ThemeValue property specifies the configuration of a theme's properties.
Instance Attribute Summary collapse
-
#children ⇒ AWSCDK::IResolvable, ...
readonly
A list of key-value pairs that define the theme's properties.
-
#value ⇒ String?
readonly
The value of a theme property.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(children: nil, value: nil) ⇒ ThemeValueProperty
constructor
A new instance of ThemeValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(children: nil, value: nil) ⇒ ThemeValueProperty
Returns a new instance of ThemeValueProperty.
593 594 595 596 597 598 |
# File 'amplify_ui_builder/cfn_theme.rb', line 593 def initialize(children: nil, value: nil) @children = children Jsii::Type.check_type(@children, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYW1wbGlmeXVpYnVpbGRlci5DZm5UaGVtZS5UaGVtZVZhbHVlc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "children") unless @children.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#children ⇒ AWSCDK::IResolvable, ... (readonly)
A list of key-value pairs that define the theme's properties.
604 605 606 |
# File 'amplify_ui_builder/cfn_theme.rb', line 604 def children @children end |
#value ⇒ String? (readonly)
The value of a theme property.
609 610 611 |
# File 'amplify_ui_builder/cfn_theme.rb', line 609 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
611 612 613 614 615 616 |
# File 'amplify_ui_builder/cfn_theme.rb', line 611 def self.jsii_properties { :children => "children", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
618 619 620 621 622 623 624 625 |
# File 'amplify_ui_builder/cfn_theme.rb', line 618 def to_jsii result = {} result.merge!({ "children" => @children, "value" => @value, }) result.compact end |