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:
- 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
.
- environment_name
AWS::AmplifyUIBuilder::Theme.EnvironmentName
.
- name
The name of the theme.
- overrides
Describes the properties that can be overriden to customize a theme.
- tags
One or more key-value pairs to use when tagging the theme.
- values
A list of key-value pairs that defines the properties of the theme.