This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::AmplifyUIBuilder::Theme
The AWS::AmplifyUIBuilder::Theme resource specifies a theme within an Amplify app. A theme is a collection of style settings that apply globally to the components associated with the app.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::AmplifyUIBuilder::Theme", "Properties" : { "AppId" :String, "EnvironmentName" :String, "Name" :String, "Overrides" :[ ThemeValues, ... ], "Tags" :{, "Values" :Key:Value, ...}[ ThemeValues, ... ]} }
YAML
Type: AWS::AmplifyUIBuilder::Theme Properties: AppId:StringEnvironmentName:StringName:StringOverrides:- ThemeValuesTags:Values:Key:Value- ThemeValues
Properties
AppId-
The unique ID for the Amplify app associated with the theme.
Required: No
Type: String
Update requires: Replacement
EnvironmentName-
The name of the backend environment that is a part of the Amplify app.
Required: No
Type: String
Update requires: Replacement
Name-
The name of the theme.
Required: No
Type: String
Minimum:
1Maximum:
255Update requires: No interruption
Overrides-
Describes the properties that can be overriden to customize a theme.
Required: No
Type: Array of ThemeValues
Update requires: No interruption
-
One or more key-value pairs to use when tagging the theme.
Required: No
Type: Object of String
Pattern:
^(?!aws:)[a-zA-Z+-=._:/]+$Minimum:
1Maximum:
256Update requires: No interruption
Values-
A list of key-value pairs that defines the properties of the theme.
Required: No
Type: Array of ThemeValues
Update requires: No interruption
Return values
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.
CreatedAt-
The time that the theme was created.
Id-
The ID for the theme.
ModifiedAt-
The time that the theme was modified.