AWS::AmplifyUIBuilder::Theme - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::AmplifyUIBuilder::Theme", "Properties" : { "AppId" : String, "EnvironmentName" : String, "Name" : String, "Overrides" : [ ThemeValues, ... ], "Tags" : {Key: Value, ...}, "Values" : [ ThemeValues, ... ] } }

YAML

Type: AWS::AmplifyUIBuilder::Theme Properties: AppId: String EnvironmentName: String Name: String Overrides: - ThemeValues Tags: Key: Value Values: - 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: 1

Maximum: 255

Update 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

Tags

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

Required: No

Type: Object of String

Pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$

Minimum: 1

Maximum: 256

Update 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.