CfnThemeProps

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

Bases: object

Properties for defining a CfnTheme.

Parameters:
  • app_id (Optional[str]) – The unique ID for the Amplify app associated with the theme.

  • environment_name (Optional[str]) – The name of the backend environment that is a part of the Amplify app.

  • name (Optional[str]) – The name 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.

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

See:

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.
from aws_cdk import aws_amplifyuibuilder as amplifyuibuilder

# theme_values_property_: amplifyuibuilder.CfnTheme.ThemeValuesProperty

cfn_theme_props = amplifyuibuilder.CfnThemeProps(
    app_id="appId",
    environment_name="environmentName",
    name="name",
    overrides=[amplifyuibuilder.CfnTheme.ThemeValuesProperty(
        key="key",
        value=amplifyuibuilder.CfnTheme.ThemeValueProperty(
            children=[theme_values_property_],
            value="value"
        )
    )],
    tags={
        "tags_key": "tags"
    },
    values=[amplifyuibuilder.CfnTheme.ThemeValuesProperty(
        key="key",
        value=amplifyuibuilder.CfnTheme.ThemeValueProperty(
            children=[theme_values_property_],
            value="value"
        )
    )]
)

Attributes

app_id

The unique ID for the Amplify app associated with the theme.

See:

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

environment_name

The name of the backend environment that is a part of the Amplify app.

See:

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

name

The name of the theme.

See:

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.

See:

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.

See:

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.

See:

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