CfnThemeProps

class aws_cdk.aws_amplifyuibuilder.CfnThemeProps(*, name, values, app_id=None, environment_name=None, 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.

  • app_id (Optional[str]) – AWS::AmplifyUIBuilder::Theme.AppId.

  • environment_name (Optional[str]) – AWS::AmplifyUIBuilder::Theme.EnvironmentName.

  • 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
    app_id="appId",
    environment_name="environmentName",
    overrides=[amplifyuibuilder.CfnTheme.ThemeValuesProperty(
        key="key",
        value=amplifyuibuilder.CfnTheme.ThemeValueProperty(
            children=[theme_values_property_],
            value="value"
        )
    )],
    tags={
        "tags_key": "tags"
    }
)

Attributes

app_id

AWS::AmplifyUIBuilder::Theme.AppId.

Link:

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

environment_name

AWS::AmplifyUIBuilder::Theme.EnvironmentName.

Link:

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

name

The name of the theme.

Link:

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

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

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

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