CfnThemeProps

class aws_cdk.aws_amplifyuibuilder.CfnThemeProps(*, name, values, overrides=None, tags=None)

Bases: object

Properties for defining a CfnTheme.

Parameters
  • name (str) – The name of the theme.

  • values (Union[IResolvable, Sequence[Union[IResolvable, ThemeValuesProperty, Dict[str, Any]]]]) – A list of key-value pairs that defines the properties of the theme.

  • overrides (Union[IResolvable, Sequence[Union[IResolvable, ThemeValuesProperty, Dict[str, Any]]], None]) – Describes the properties that can be overriden to customize a theme.

  • tags (Optional[Mapping[str, str]]) – One or more key-value pairs to use when tagging the theme.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# theme_values_property_: amplifyuibuilder.CfnTheme.ThemeValuesProperty

cfn_theme_props = amplifyuibuilder.CfnThemeProps(
    name="name",
    values=[amplifyuibuilder.CfnTheme.ThemeValuesProperty(
        key="key",
        value=amplifyuibuilder.CfnTheme.ThemeValueProperty(
            children=[theme_values_property_],
            value="value"
        )
    )],

    # the properties below are optional
    overrides=[amplifyuibuilder.CfnTheme.ThemeValuesProperty(
        key="key",
        value=amplifyuibuilder.CfnTheme.ThemeValueProperty(
            children=[theme_values_property_],
            value="value"
        )
    )],
    tags={
        "tags_key": "tags"
    }
)

Attributes

name

The name of the theme.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-name

Return type

str

overrides

Describes the properties that can be overriden to customize a theme.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-overrides

Return type

Union[IResolvable, List[Union[IResolvable, ThemeValuesProperty]], None]

tags

One or more key-value pairs to use when tagging the theme.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-tags

Return type

Optional[Mapping[str, str]]

values

A list of key-value pairs that defines the properties of the theme.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-values

Return type

Union[IResolvable, List[Union[IResolvable, ThemeValuesProperty]]]